Hello everybody, I'd like to know if there is any difference placing your SCRIPT tag inside HEAD tag instead of putting into BODY tag. I know that conceptually you should put your SCRIPT tag in the HTML header section if its code is about a deferred action, but the main point is: what is the difference in browser behavior in those two scenarios?
Anyone could help?
posted 10 years ago
There really is no major difference that I am aware of.