link, script tags between </body> and </html>

前提是你 提交于 2019-12-12 22:56:04

问题


I've just started using SyntaxHighlighter.
I looked at their HTML source code for this page and noticed that they put some link and script tags between </body> and </html>. I guess it helps the page turns up faster plus with their new autoload function. But is that valid/okay (according to the HTML validator, it is not)? will it cause any weird stuff in some browsers?

Thanks


回答1:


But is that valid

No

/okay?

Subjective

will it cause any weird stuff in some browsers?

Doubtful, but you might as well move the script to just before </body> as is traditional for end-of-document script loading.



来源:https://stackoverflow.com/questions/9401157/link-script-tags-between-body-and-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!