This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.



Describes the relationship from the current document to the anchor specified by the href attribute.

Applies to [/html/elements/a](/html/elements/a)
## Notes


If no values are indicated, the rel property’s default relationship is an empty string. This property is used only when the href property is applied. The Offline, Search, Shortcut Icon, and Stylesheet values apply only to the link object. The rel property is similar to the rev property, but the semantics of these two properties’ link types are in the reverse direction. For example, a link from A to B with REL="X" expresses the same relationship as a link from B to A with REV="X". An anchor can have both rel and rev properties. Internet Explorer 8 and later. In IE8 Standards mode, the rel content attribute locates the Alternate token regardless of its position in a space-delimited list of tokens. For example, rel will locate Alternate whether it is parsed as rel="alternate stylesheet" or rel="stylesheet alternate". For more information on IE8 mode, see Defining Document Compatibility. The Offline value is available in Microsoft Internet Explorer 5 and later. For more information about CDF files and offline favorites, see Enhancing Offline Favorites. CDF is obsolete as of Internet Explorer 7.


Standards information

See also

Related pages

  • aa
  • link
  • Reference
  • revrev
  • Other Resources
  • Subscribing to Content with Web Slices