I have seen that the things written in the head will be transferred to the body in this forum, no more than 3_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:17:36
Original
1123 people have browsed it

This post was last edited by shanglei005166 on 2012-10-16 13:43:38

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>aaaa</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">body{ padding: 0; margin: 0;}</style></head><body>  bbbbbbbbbbbbbb</body></html>
Copy after login


Then review the element in the chrome browser as shown below:

The result is that the words are not in the top grid because there is a br tag. And why does the content in the head tag run into the body?

Reply to discussion (solution)



aaaa




bbbbbbbbbbbbbb




It’s not for this reason. I’ve tried this before. It’s for some other reasons. I can’t explain it in just a few words. But I still want to thank you for your answer. Points will be awarded for your post.

The original poster What’s the reason? I’ve encountered it too

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template