Answers for "how to link js to html and css"

4

how to link javascript to html and css

# Javascript
<script src="[file_name].js"></script>

# CSS
<link rel = "stylesheet" type="text/css" href = "style.css" />
Posted by: Guest on November-09-2020
10

linking a script .js

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

Code answers related to "how to link js to html and css"

Browse Popular Code Answers by Language