PRARTHITA SAHA1,009 Points
difference between link element and anchor tag
what is the basic difference between link element and anchor tag. I mean in an anchor tag too we are defining the path of an external document and in link to the same.
Steve Gallant14,170 Points
The <link> element is sort of a behind-the-scenes call to load up a resource that the current page needs to be rendered properly. For example, you might link to your CSS style sheet(s) or to publicly available resources like Google fonts, etc. There is nothing to click on, this is just a shorthand way of making those additional references and resources available when the current page loads.
The anchor <a> element, on the other hand, is how you create user-clickable hyperlinks to other pages (or parts of a page), or protocol links like ftp:// or mailto:
Hope this helps!
Jordan Whyte6,118 Points
A <link> tag is typically used for linking to other documents, such as a CSS stylesheet. Whereas the <a> tag is used to link to an external page, such as <a href="https://www.youtube.com"></a> would take the user to YouTube.
Martha Brown4,380 Points
I love that you can make an make an HTML anchor tag to make an img tag into a clickable hyperlink. The title attribute can be a tool tip link.
I learn a lot at the W3C website's W3school.com. They present a variety of tags and demonstrate with interactive examples.