REL attribute reference for HTML links

Published: | by Julian Knight Reading time ~4 min.
📖 Posts | 📎 General | 🔖None

NOTE: This table may be incomplete

Relation NameDescriptionReferenceNotes
alternateDesignates a substitute for the link’s context.[W3C.REC-html401-19991224] 
appendixRefers to an appendix.[W3C.REC-html401-19991224] 
bookmarkRefers to a bookmark or entry point.[W3C.REC-html401-19991224] 
chapterRefers to a chapter in a collection of resources.[W3C.REC-html401-19991224] 
contentsRefers to a table of contents.[W3C.REC-html401-19991224] 
copyrightRefers to a copyright statement that applies to the link’s context.[W3C.REC-html401-19991224] 
currentRefers to a resource containing the most recent item(s) in a collection of resources.[RFC5005] 
describedbyRefers to a resource providing information about the link’s context.<http://www.w3.org/TR/powder-dr/#assoc-linking> 
editRefers to a resource that can be used to edit the link’s context.[RFC5023] 
edit-mediaRefers to a resource that can be used to edit media associated with the link’s context.[RFC5023] 
enclosureIdentifies a related resource that is potentially large and might require special handling.[RFC4287] 
firstAn IRI that refers to the furthest preceding resource in a series of resources.[RFC5988] this relation type registration did not indicate a reference.  Originally requested by Mark Nottingham in December 2004.
glossaryRefers to a glossary of terms.[W3C.REC-html401-19991224] 
helpRefers to a resource offering help (more information, links to other sources information, etc.)[W3C.REC-html401-19991224] 
hubRefers to a hub that enables registration for notification of updates to the context.<http://pubsubhubbub.googlecode.com/> <http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html> this relation type was requested by Brett Slatkin.
indexRefers to an index.[W3C.REC-html401-19991224] 
lastAn IRI that refers to the furthest following resource in a series of resources.[RFC5988] this relation type registration did not indicate a reference.  Originally requested by Mark Nottingham in December 2004.
latest-versionPoints to a resource containing the latest (e.g., current) version of the context.[RFC5829] 
licenseRefers to a license associated with the link’s context.[RFC4946] 
nextRefers to the next resource in a ordered series of resources.[W3C.REC-html401-19991224] 
next-archiveRefers to the immediately following archive resource.[RFC5005] 
paymentindicates a resource where payment is accepted.[RFC5988]this relation type registration did not indicate a reference.  Requested by Joshua Kinberg and Robert Sayre.  It is meant as a general way to facilitate acts of payment, and thus this specification makes no assumptions on the type of payment or transaction protocol.  Examples may include a Web page where donations are accepted or where goods and services are available for purchase. rel=”payment” is not intended to initiate an automated transaction.  In Atom documents, a link element with a rel=”payment” attribute may exist at the feed/channel level and/or the entry/item level.  For example, a rel=”payment” link at the feed/channel level may point to a “tip jar” URI, whereas an entry/item containing a book review may include a rel=”payment” link that points to the location where the book may be purchased through an online retailer.
prevRefers to the previous resource in an ordered series of resources.  Synonym for “previous”.[W3C.REC-html401-19991224] 
predecessor-versionPoints to a resource containing the predecessor version in the version history.[RFC5829] 
previousRefers to the previous resource in an ordered series of resources.  Synonym for “prev”.[W3C.REC-html401-19991224] 
prev-archiveRefers to the immediately preceding archive resource.[RFC5005] 
relatedIdentifies a related resource.[RFC4287] 
repliesIdentifies a resource that is a reply to the context of the link.[RFC4685] 
sectionRefers to a section in a collection of resources.[W3C.REC-html401-19991224] 
selfConveys an identifier for the link’s context.[RFC4287] 
serviceIndicates a URI that can be used to retrieve a service document.[RFC5023]When used in an Atom document, this relation type specifies Atom Publishing Protocol service documents by default.  Requested by James Snell.
startRefers to the first resource in a collection of resources.[W3C.REC-html401-19991224] 
stylesheetRefers to an external style sheet.[W3C.REC-html401-19991224] 
subsectionRefers to a resource serving as a subsection in a collection of resources.[W3C.REC-html401-19991224] 
successor-versionPoints to a resource containing the successor version in the version history.[RFC5829] 
upRefers to a parent document in a hierarchy of documents.[RFC5988] this relation type registration did not indicate a reference.  Requested by Noah Slater.
version-historypoints to a resource containing the version history for the context.[RFC5829] 
viaIdentifies a resource that is the source of the information in the link’s context.[RFC4287] 
working-copyPoints to a working copy for this resource.[RFC5829] 
working-copy-ofPoints to the versioned resource from which this working copy was obtained.[RFC5829] 

comments powered by Disqus