REL attribute reference for HTML links

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

NOTE: This table may be incomplete

Relation Name Description Reference Notes
alternate Designates a substitute for the link’s context. [W3C.REC-html401-19991224]  
appendix Refers to an appendix. [W3C.REC-html401-19991224]  
bookmark Refers to a bookmark or entry point. [W3C.REC-html401-19991224]  
chapter Refers to a chapter in a collection of resources. [W3C.REC-html401-19991224]  
contents Refers to a table of contents. [W3C.REC-html401-19991224]  
copyright Refers to a copyright statement that applies to the link’s context. [W3C.REC-html401-19991224]  
current Refers to a resource containing the most recent item(s) in a collection of resources. [RFC5005]  
describedby Refers to a resource providing information about the link’s context. <http://www.w3.org/TR/powder-dr/#assoc-linking>  
edit Refers to a resource that can be used to edit the link’s context. [RFC5023]  
edit-media Refers to a resource that can be used to edit media associated with the link’s context. [RFC5023]  
enclosure Identifies a related resource that is potentially large and might require special handling. [RFC4287]  
first An 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.
glossary Refers to a glossary of terms. [W3C.REC-html401-19991224]  
help Refers to a resource offering help (more information, links to other sources information, etc.) [W3C.REC-html401-19991224]  
hub Refers 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.
index Refers to an index. [W3C.REC-html401-19991224]  
last An 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-version Points to a resource containing the latest (e.g., current) version of the context. [RFC5829]  
license Refers to a license associated with the link’s context. [RFC4946]  
next Refers to the next resource in a ordered series of resources. [W3C.REC-html401-19991224]  
next-archive Refers to the immediately following archive resource. [RFC5005]  
payment indicates 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.
prev Refers to the previous resource in an ordered series of resources.  Synonym for “previous”. [W3C.REC-html401-19991224]  
predecessor-version Points to a resource containing the predecessor version in the version history. [RFC5829]  
previous Refers to the previous resource in an ordered series of resources.  Synonym for “prev”. [W3C.REC-html401-19991224]  
prev-archive Refers to the immediately preceding archive resource. [RFC5005]  
related Identifies a related resource. [RFC4287]  
replies Identifies a resource that is a reply to the context of the link. [RFC4685]  
section Refers to a section in a collection of resources. [W3C.REC-html401-19991224]  
self Conveys an identifier for the link’s context. [RFC4287]  
service Indicates 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.
start Refers to the first resource in a collection of resources. [W3C.REC-html401-19991224]  
stylesheet Refers to an external style sheet. [W3C.REC-html401-19991224]  
subsection Refers to a resource serving as a subsection in a collection of resources. [W3C.REC-html401-19991224]  
successor-version Points to a resource containing the successor version in the version history. [RFC5829]  
up Refers to a parent document in a hierarchy of documents. [RFC5988]  this relation type registration did not indicate a reference.  Requested by Noah Slater.
version-history points to a resource containing the version history for the context. [RFC5829]  
via Identifies a resource that is the source of the information in the link’s context. [RFC4287]  
working-copy Points to a working copy for this resource. [RFC5829]  
working-copy-of Points to the versioned resource from which this working copy was obtained. [RFC5829]  

comments powered by Disqus