Why is there a dot in front of the declaration in the html file that is blank at the top of the page?

Source: Internet
Author: User
Why is there a blank dot on the top of the page in front of the declaration in the html file! Urgent! Urgent! Urgent! Urgent! Solution ------ solution ------------------ view the template or php file & nbsp; there is blank & lt ;? Php ------ solution ------------------ mostly BOM headers are playing tricks ------ solution-why is there a blank dot on the top of the page at the front of the declaration in the html file?

Urgent! Urgent! Urgent! Urgent! Urgent! Solution
------ Solution --------------------
View the template or php file

Blank ------ Solution --------------------
Most of them are BOM headers.
------ Solution --------------------
You can save the code as utf8 without dom.
However, I think it is even more likely that an html tag has not been closed, because this situation has also been encountered before. we recommend that you check whether all tags match and close it.

------ Solution --------------------
I remember that I encountered this problem and solved it. However, I cannot remember why...
------ Solution --------------------
Dizzy above the words have not been completed, accidentally ctrl + enter.

Supplement:

LZ: Check whether the body tag is configured with padding.

Does the first element set margin?

If it doesn't work, right-click firefox to view the elements and check the box model to find out who made the gap.
------ Solution --------------------
$s = file_get_contents('http://www.1718jc.com/', false, null, 0, 10);
echo bin2hex($s);
Efbbbfefbbbf203c2144

Isn't this the BOM header? Two more!
------ Solution --------------------
If the bom header is affected, open the homepage file and remove the bom header. if not, leave the contact information
------ Solution --------------------
Yes, we have encountered this problem before. it is very worrying to use Dreamweaver to save it and remove the bom header option.
------ Solution --------------------
Create a new file, copy the code, save it, and replace the file.

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.