Home  >  Article  >  Web Front-end  >  The content in the html head tag is displayed in the body_html/css_WEB-ITnose

The content in the html head tag is displayed in the body_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:45:181501browse

Today the boss said that the homepage of a website displays abnormally under IE. Looking at the code, I found that all the elements in the head have gone to the body, and the first line of the body begins with a pair of double quotes. Wendu Niang said it was an encoding problem. Many people said it was because the file was encoded in the utf-8 BOM format, so she used Notepad to create a new file and then encoded it in the utf8 BOM-free format and saved it, overwriting the saved file. file, ok, problem solved.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn