I know that the HTML <link> tag is used for attatching stylesheets, but looking at the W3CSchools tag reference, it has many other values for the rel attribute. I’ve looked all over the place, but I can’t for the life of me find a place that describes in detail what the other values do and how they work. Can anyone send me to the right place or explain it themselves?
I know that the link tag supplies other pages that relate to the current document, but how are they used? For example, how are the first, prev, and next relationships used?
I know two prominent common uses:
With
rel="stylesheet"to reference external CSS style sheetsWith
rel="favicon"to reference browser faviconsAdditionally, there are
Forward and reverse links (
rel="next")Links to alternative resources for search engines (
rel="alternate")Check the W3C Reference: Links in HTML documents for details on stylesheet, and the latter two.