link javascript in html dom code example Example: link javascript html <script type="text/javascript" src="monscript.js"></script>