Why are some devs placing the script tag in the bottom of the document?

ywmasrhgmgta

New Member
I've seen HTML documents where the developers place the \[code\]<script src="http://stackoverflow.com/questions/12781277/xxx">\[/code\] tags in the bottom of the document and is wondering why.I've just read HTML4 specification regarding the script tag. It says nothing about when and how the script should be loaded. Hence it's up to the web browser to handle that as it sees fit.Isn't it reasonable to think that the browser authors should be aware of that loading scripts synchronously or in any other way hinder the document rendering would affect the browsing experience?i.e. aren't we as web developers better off to put the scripts in the \[code\]<head>\[/code\] tag?
 
Back
Top