title: When to use the <script> tag in the head and body section of a html page?
body: <p>When we have to use <code>&lt;script&gt;</code> tag inside <code>&lt;head&gt;</code> section and when we have to use the <code>&lt;script&gt;</code> tag inside <code>&lt;body&gt;</code> section? What is the difference between these two occurrences?</p>