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