Can the `<link>` tag be used to include JavaScript in our projects?


#1

Question

Can the <link> tag be used to include JavaScript in our projects?

Answer

No. To load JavaScript into our HTML document we use the <script> tags. To learn more, check out our “Introduction to JavaScript” course.


FAQ: Learn CSS Selectors Visual Rules - CSS Setup Selectors - Linking the CSS File