Answers for "How to add a js file link to html"

80

import js in html

<script type="text/javascript" src="yourfile.js"></script>
Posted by: Guest on February-23-2020
59

include script in html

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

Code answers related to "How to add a js file link to html"

Browse Popular Code Answers by Language