- The header of the page in between 'head' tags.
- Body of the page in between 'body' tags.
- In an external file with .js extension.
Content of scriptfile.js
Content of html file