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

c++ - Linked List error when inserting for the last time -

c++ - Issues with OpenGL referencing when compiling in Ubuntu terminal -

Using Angularjs $http in browser console -