Answers for "reference script in html"

59

include script in html

<script type="text/javascript" src="/path/to/script.js"></script>
Posted by: Guest on July-17-2020
2

how to reference a javascript file in html

<script type="text/javascript" src="path/filename.js"></script>
Posted by: Guest on March-24-2021
3

script tag in html

<script>
  // Write JS here
</script>

<script src="link/to/js/file.js"></script>
Posted by: Guest on October-20-2020

Browse Popular Code Answers by Language