是不是网页上显示的内容都得写到body 标签里,可是不写进去的话也会在网页上显示出来?
phpcn_u226
phpcn_u226 2016-12-21 10:58:20
0
2
975

是不是网页上显示的内容都得写到body  标签里,可是不写进去的话也会在网页上显示出来?

phpcn_u226
phpcn_u226

reply all(2)
数据分析师

Does the content displayed on the web page have to be written in the body tag, but if it is not written in, it will also be displayed on the web page? -PHP Chinese website Q&A-Does the content displayed on the web page have to be written in the body tag, but if it is not written in, it will also be displayed on the web page? -PHP Chinese website Q&A

Please watch and learn.

阿神

Body指明文档主体的开始和结束,在不复杂的html文件中不加body也是可以。

但是严格规范是应该加上的,这不仅是标准,而且是一种严密的习惯,比如script就要求出现在Body标签之后。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!