How to link a js document to html file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to link a js document to html file?

26th Jul 2017, 1:11 PM
Richa sahu
Richa sahu - avatar
3 Answers
+ 15
<script src=source></script>
26th Jul 2017, 1:14 PM
Valen.H. ~
Valen.H. ~ - avatar
26th Jul 2017, 1:15 PM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 1
Example: <script src="mydoc.js" > </script>
26th Jul 2017, 1:15 PM
Ledio Deda
Ledio Deda - avatar