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