java script external link code example
Example 1: link javascript html
<script type="text/javascript" src="monscript.js"></script>
Example 2: include javascript in html
<script>
// JS Here
</script>
<script type="text/javascript" src="monscript.js"></script>
<script>
// JS Here
</script>