+ 1

How to link a java script file to html

hello

27th Jan 2018, 4:00 PM
Goransh bajaj
Goransh bajaj - avatar
3 ответов
+ 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>
27th Jan 2018, 4:27 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
0
you add in your HTML file : <script src="myscript.js" />
27th Jan 2018, 4:04 PM
Vincent
Vincent - avatar
0
thanq
27th Jan 2018, 4:05 PM
Goransh bajaj
Goransh bajaj - avatar