<script src="index.js"></script>
<script src="index.js"> </script>
<script src="PathToYourFile.js"> </script>
<script src = "index.js"></script>
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
<script src="index.js"> </script>
// This is an awesome answer!
// This is how you link HTML to your JavaScript! -> Enjoy and Prosper!
<script type="text/javascript" src="path-to-javascript-file.js"></script>
<script src="your js file"></script>
<script type="text/javascript" src=es4.js></script>
<script src="name.js">
//put in your javascript here
</script>