+ 1
How to link a java script file to html
hello
3 Answers
+ 6
add either of these two in HTML fileđđ
1)
<script src="url of script.js"></script>
2)
<script>
document.write("Hello World!!");
//script goes here....
</script>
0
you add in your HTML file : <script src="myscript.js" />
0
thanq