Answers for "index.html can call js files"

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

Browse Popular Code Answers by Language