load js in html code example
Example 1: import js in html
<script type="text/javascript" src="yourfile.js"></script>
Example 2: html load js file
<script src="myscripts.js"></script>
Example 3: how to add javascript in html
<script src="script.js"></script>
Example 4: call js script in html
<script src="file1.js" type="text/javascript"></script>
<script src="file2.js" type="text/javascript"></script>
Example 5: include javascript in html
<script>
// JS Here
</script>