Answers for "how to add javascript into an html file"

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

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

Browse Popular Code Answers by Language