Search code examples
htmlsyntaxhighlighter

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


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


Solution

  • 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.