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:
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
Post a Comment