how to reference and run a script in html code example Example: script src tag in html <script type="text/javascript" src="file.js"> </script>