rel

Jump to: navigation, search

rel

This article is Not Ready.



Summary

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


Applies to http://docs.webplatform.org/wiki/html/elements/a

Needs Examples: This section should include examples.

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

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

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

Attribution

This article contains content originally from external sources.

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