html import js file at end of html-file code example Example: import js in html <script type="text/javascript" src="yourfile.js"></script>