Answers for "how to add html to javascript file"

10

linking a script .js

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

how to put javascript in HTML

<script>
  //put your java script here
  </script>
Posted by: Guest on March-21-2021

Code answers related to "how to add html to javascript file"

Browse Popular Code Answers by Language