Why the preceding declaration in an HTML file has a dot in front of the page there is a blank at the top

Source: Internet
Author: User
Why is there a point in the front of the HTML file that has a dot at the top of the page?

Tokyu Tokyu Tokyu Tokyu Tokyu Solving
------Solution--------------------
Look at the template, or the PHP file

It's blank. ------Solution--------------------
It's mostly BOM head in mischief
------Solution--------------------
You can save the code as UTF8 without a DOM test.
However, I think it is more likely that an HTML tag is not closed, because this has been encountered before, it is recommended to check whether the label is matched and closed

------Solution--------------------
I remember that I had encountered this problem and had solved it. But--now I can't remember what the reason is ...
------Solution--------------------
Dizzy above the words have not finished, careless ctrl+enter.

Add:

LZ look at the body tag is not set up padding

The first element does not have a margin set

No, just use Firefox right-click on the element and look at the box model to find out who did this interval.
------Solution--------------------
$s = file_get_contents (' http://www.1718jc.com/', false, NULL, 0, 10);
echo Bin2Hex ($s);
EFBBBF EFBBBF203c2144

Isn't this BOM header? It's still two!
------Solution--------------------
BOM Header effect, open home file, remove BOM header, if not, please leave contact information
------Solution--------------------
Yes, this problem we have encountered before, very worried, with Dreamweaver Save As, remove the BOM header option is good, ah ha
------Solution--------------------
Create a new file and then save the code after copying it, and then replace it with the file, which is duly completed.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.