html - Why does bootstrap suggest do load scripts in body? -


scripts should included in <head> part learned w3c.

why boostrap suggest load in <body> part seen here:

http://getbootstrap.com/getting-started/#template

scripts technically supposed loaded , executed @ placed in body. imagine browser reads html top bottom. if script include @ top of document, browser supposed idle while fetches script web server.

a more detailed answer available at
unobtrusive javascript: <script> @ top or bottom of html code?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -