The difference between href and src attributes

I was noticing that when you link a Javascript file to your Html, that you use the src attribute with the script tag. On the other hand, you use the href attribute on the link tag to connect your css and Html. Is there any difference between the href and src attributes if they’re both used to link files to your Html?

2 Likes

See here for information on this:

4 Likes