Common rel types

In a previous article, we talked about the rel attribute, http://206.189.161.181/2015/05/the-rel-attribute/.

In this entry we have a sample list of common used link relations.

self

Use this type to link to the preferred URI of the resource.

alternate

Use this type when providing a link to a URI for an alternative version of the same resource.

edit

Use this type to link to a URI that clients can use to edit the resource.

Use this type to link to a related resource.

previous

Use these types to link to the previous or next resource in an ordered series of resources. and next

first and last

Use these types to link to the first and last resources in an ordered series of resources, e.g., to the first and last resources in a collection.

HTML Supported

  • alternate
  • stylesheet
  • start
  • next
  • prev
  • contents
  • index
  • glossary
  • copyright
  • chapter
  • section
  • subsection
  • appendix
  • bookmark

HTML 5 Specific

  • archives
  • feed
  • pingback

To see full list of link relations for public use see. https://tools.ietf.org/html/draft-nottingham-http-link-header-10

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Published by

jchencha

Software Project Manager