0

Adding Js Scripts into HTML documents

When i want to add a JS script into HTML document with <script src="(script name).js"> Do they have to be in the same folder?

30th Oct 2016, 1:49 PM
Yannick Wöstmann
Yannick Wöstmann - avatar
3 Respostas
+ 3
if you write only name of file yes else you must specify C:\directories\file.js
30th Oct 2016, 2:12 PM
Leo Flame
Leo Flame - avatar
+ 2
go for answer of @leo . if not on same folder provide the path
31st Oct 2016, 6:47 AM
Shekhar Bahuguna
Shekhar Bahuguna - avatar
0
Yes they need to be in the same folder
31st Oct 2016, 4:45 AM
Grace Now