<html>
<head>
</head>
<body>
<script type="text/javascript" src=es4.js></script>
</body>
</html>
<script src="index.js"> </script>
<script src="PathToYourFile.js"> </script>
<script src = "index.js"></script>
<script src="index.js"> </script>
//put it in last of body so javascript load after html element and javascript
//can change html element
<body>
<script src="index.js"></script>
</body>
<script src="script.js">
// 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>
<!-- index.html -->
<html>
<head>
<title>My Page</title>
<script src="my-script.js"></script>
</head>
<body>
<div id="user-greeting">Welcome back, user</div>
</body>
</html>
<script type="text/javascript" src=es4.js></script>
<script src="name.js">
//put in your javascript here
</script>
<script>
// JS Here
</script>