To link a JavaScript file to an HTML document, you need to use the <script> tag. The Src Attribute The src attribute allows you to point to a URL that has an external script file. <script src="js/script.js"></script> — this points to a file called '...

Markdown supported · ⌘↵ to post
No responses yet.