Many of my pages have necessary scripts in the head and scripts that aren't needed until after the page loads at the bottom.
If I make an obvious script error on the bottom scripts section, it never flags and I don't see HTML Tidy warnings for post-loaded scripts either.
My pages are similar to this:
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><!-- InstanceBegin template="/Templates/secure_template.dwt" codeOutsideHTMLIsLocked="false" -->
// scripts here
.. (content here)
// post-loaded scripts here
Is there a limit as to how far into the page HTML Tidy parses?