title: External JavaScript - body or head?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/436411/where-is-the-best-place-to-put-script-tags-in-html-markup">Where is the best place to put &lt;script&gt; tags in HTML markup?</a>  </p>
  </blockquote>
  
  
  
  <p>Where should I put my external JavaScript file? I know that people put it at the end of the body tag to make the web page look like it loads faster. But is there any cons about putting it at the end?</p>
  
  <p>And would this be a good practice to put the JavaScript with the Google Analytics code?</p>
  
  <pre><code>&lt;body&gt;
  // Everything else over here ... conent etc..
       &lt;script src="myjavascript.js" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
          // google analytics code
          &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>