+ 2
How to link js file with html in notepad++?
3 Answers
+ 3
Include the script inside your head tag.
The attribute src is for the path to the file, it can be relative or absolute, local or from a website.
Examples:
aFolder/file.js (relative)
C:\user\desktop\file.js (absolute)
<script src="myFile.js"> </script>
0
ok boss đ
0
j