⬅︎ Back to RequireJS versus HeadJS
It's a pretty common practice to load javascript at the end of the page, to avoid flicker and speed rendering up. http://developer.yahoo.com/performance/rules.html#js_bottomI never heard that js must get loaded in the head, its even valid anywhere.
What is a common practice is not necessarily correct sometimes. I suspect that XHTML Strict is the only one that bitches about <script> tags into the body. But most likely it's still working all the time.
Comment
It's a pretty common practice to load javascript at the end of the page, to avoid flicker and speed rendering up. http://developer.yahoo.com/performance/rules.html#js_bottom
I never heard that js must get loaded in the head, its even valid anywhere.
Replies
What is a common practice is not necessarily correct sometimes.
I suspect that XHTML Strict is the only one that bitches about <script> tags into the body. But most likely it's still working all the time.