Home >Web Front-end >CSS Tutorial >The title in the head is displayed in the body
I encountered a problem today, that is, the content in the title will be displayed in the body
<title>324234</title>
After searching online, it said that there is a problem with the encoding method. In this case, I checked my coding and found that there were no problems. So I started to investigate, and after removing the css style sheet, the title was no longer displayed. It seems there is something wrong with the style.
After investigation, I found that the previously written reset style is as follows.
* { display: block; }
Then it seems that the browser default is display:none. Because title is also a label, it takes effect on css, so if you remove the display:block, it will display normally.
For more related articles, the title in the head is displayed in the body, please pay attention to the PHP Chinese website!