you can place your script in either the HEAD or BODY section of an HTML document.