script tag in html code example Example: script tag in html <script> // Write JS here </script> <script src="link/to/js/file.js"></script>