#summary The a rel attribute represents the relation of the target resource to the current document.
#labels about-html,is-html-attribute,from-w3c
You are here: [Welcome Home] > [HTMLReference HTML Reference] > [HTMLElements Elements] > [AElement element] > *rel attribute*
== Usage ==
{{{
subscribe
}}}
== Values ==
See [LinkTypes link types] for the possible values of this attribute.
== Elements ==
You can use the `rel` attribute on the following elements:
* [AElement ]
* [AreaElement ]
* [LinkElement ]
* [ImgElement
]
== Browser compatibility ==
[ArticleBrowserCompatibilityLegend Compatibility table legend]
|| *Test* || *IE8* || *IE7* || *IE6* || *FF3* || *FF2* || *Saf3* || *Op9* || *Chrome* ||
|| [http://doctype.googlecode.com/svn/trunk/tests/html/attributes/a-rel-reflection-test.html a.rel reflects ] || Y || Y || Y || Y || Y || Y || Y || Y ||
== Further reading ==
* [http://www.whatwg.org/specs/web-apps/current-work/#rel3 The rel attribute in HTML 5]
* [http://www.w3.org/TR/html401/struct/links.html#adef-rel The rel attribute in HTML 4]
* [http://www.w3.org/TR/html401/types.html#type-links The rel attribute in HTML 4]
* [http://msdn2.microsoft.com/en-us/library/ms534366.aspx The rel attribute on MSDN]