title: Should JavaScript go inside the <body> for performance, rather than the <head>?
body: <p>An IBM website talking about rapid web development <a href="http://www.ibm.com/developerworks/opensource/library/wa-bootstrap/index.html" rel="noreferrer">here</a> mentioned a useful skeleton HTML. In the template, the script inclusion is inside body rather than head. Is it a good practice? Isn't it better to put any library inside head instead?</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Template&lt;/title&gt;
      &lt;link href="css/bootstrap.min.css" rel="stylesheet" media="screen"&gt;
      &lt;link href="css/bootstrap-responsive.min.css" rel="stylesheet"&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;!-- The main HTML will go here --&gt;
      &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>VS</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Template&lt;/title&gt;
      &lt;link href="css/bootstrap.min.css" rel="stylesheet" media="screen"&gt;
      &lt;link href="css/bootstrap-responsive.min.css" rel="stylesheet"&gt;
      &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;!-- The main HTML will go here --&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>