include file html with js code example
Example 1: include js in html
<html>
<head>
</head>
<body>
<script type="text/javascript" src=es4.js></script>
</body>
</html>
Example 2: html load js file
<script src="myscripts.js"></script>
Example 3: include javascript in html
<script>
// JS Here
</script>