Answers for "script tag into head"

10

how to add script in html head

<script src="script.js" defer></script>

<!--just add defer attribute so script will execute at last-->
Posted by: Guest on August-21-2020
-1

call js script in html

<script src="file1.js" type="text/javascript"></script> 
<script src="file2.js" type="text/javascript"></script>
Posted by: Guest on November-18-2020
0

add javascript

function add(param1, param2) {
    return param1 + param2
}
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language