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