script tag to connect html to js code example Example: import js in html <script type="text/javascript" src="yourfile.js"></script>