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.


Jump to: navigation, search


This article is Not Ready.


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

Applies to

Needs Examples: This section should include examples.



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 (MSDN)

  • a
  • link
  • Reference
  • rev
  • Other Resources
  • Subscribing to Content with Web Slices


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]