Code:
<script src="some.js" type="text/javascript"></script>
is all you really need. Nothing need go in the body, it depends upon the script and what the script is supposed to do (in most cases, simply refer to instructions that come with the script). If your script originally went in the body of the page, the same above syntax may be used in the body instead of in the head to invoke the script. Another consideration is that once your script is in an external file, it must be stripped of its opening and closing script tags as well as html comment tags (if any) of the sort intended to 'hide it from the browser'.
Bookmarks