Home > Web Front-end > H5 Tutorial > body text

为什么把 Script 标签放在 body 结束标签之后 html 结束标签之前?

WBOY
Release: 2016-06-07 08:42:10
Original
1488 people have browsed it

新浪微博、谷歌等,为什么把Script标签放在body结束标签之后html结束标签之前?
而不是之前推荐的body结束标签之前?
问题关键:放在body结束标签之前与之后有什么差别?

回复内容:

Google并没有把<script>插入在</script>
Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!