This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

rel

Summary

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

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

Remarks

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.

Syntax

Standards information

See also

Related pages

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

Attributions