在</body>标记之后放置<script>标记是错误的吗?将脚本标记放在主体的结束标记之后有多大的错误(</body>). ?<html>
.... <body>
.... </body>
<script type="text/javascript" src="theJs.js"></script></html>
3 回答
开心每一天1111
TA贡献1836条经验 获得超13个赞
void HTMLParser::processCloseTag(Token* t){ // Support for really broken html. // we never close the body tag, since some stupid web pages close it before // the actual end of the doc. // let's rely on the end() call to close things. if (t->tagName == htmlTag || t->tagName == bodyTag || t->tagName == commentAtom) return; ...
添加回答
举报
0/150
提交
取消