html script head import code example
Example 1: linking a script .js
<script type="text/javascript" src="path-to-javascript-file.js"></script>
Example 2: link javascript html
<script type="text/javascript" src="monscript.js"></script>
<script type="text/javascript" src="path-to-javascript-file.js"></script>
<script type="text/javascript" src="monscript.js"></script>