ling js file to html file code example Example: link javascript file to html <script type="text/javascript" src="path-to-javascript-file.js"></script>