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