Answers for "how to include js file in index.html"

10

linking a script .js

<script type="text/javascript" src="path-to-javascript-file.js"></script>
Posted by: Guest on March-08-2020
0

how to enter javascript in html

<script type="text/javascript">
  alert("This alert box was called with the onload event");
</script>
Posted by: Guest on August-19-2020

Code answers related to "how to include js file in index.html"

Browse Popular Code Answers by Language