JavaScript Needs HTML
JavaScript must be surrounded by
<script> tags in a Web page ...
Script tags can be used anywhere where
white space is OK, so use them as needed