Answers for "how to link js file to two html files"

67

include script in html

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

include js file in html

<script type="text/javascript" src="yourFile.js"> </script>
Posted by: Guest on January-29-2022

Browse Popular Code Answers by Language