add a script in a html doc code example Example: how to link javascript to html <script src="PathToYourFile.js"> </script>