Where to Place Scripts in Your Web Documents…

, , Comments Off on Where to Place Scripts in Your Web Documents…

A common mistake that many web developers make is to put all their JavaScript in the HEAD of the document. This is what we were taught, but it can affect the speed of pages downloading. Instead, get in the habit of putting your scripts last. This article explains why this is important and gives some tips for how to adjust your scripts so that they will work even if they are loaded last.
About.com Web Design & HTML: Most Popular Articles