About External javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

About External javascript

How to set location for external .js file. Is there any tags like <script src ="javascript.js" alt="">

30th Oct 2016, 5:45 AM
Mashrafe
Mashrafe - avatar
1 Answer
+ 5
Yes, you can use <script src="path/to/your/file.js"></script>. The script tag has no alt attribute though.
30th Oct 2016, 8:54 AM
Zen
Zen - avatar