rel: Difference between revisions
AndyMabbett (talk | contribs) m (redirect to rel-faq) |
m (Replace <entry-title> with {{DISPLAYTITLE:}}) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
# | {{DISPLAYTITLE:rel}} | ||
<strong>rel</strong> is short for "relationship" and [http://www.w3.org/TR/html401/struct/links.html#adef-rel an HTML 4.01 attribute] on the <code>a</code> and <code>link</code> elements. The 'rel' attribute is used for several popular [[elemental microformats]] such as [[rel-nofollow]], [[rel-license]], [[rel-tag]], and [[XFN]]. Popularity is noted as of 2005-12 per the Google study on markup use, in particular the [http://code.google.com/webstats/2005-12/linkrels.html use of link relationships], [http://code.google.com/webstats/2005-12/element-a.html the <a> tag], and related [http://code.google.com/webstats/2005-12/pageheaders.html page headers] (which noted that "XFN [is] the most popular HTML metadata profile"). | |||
For more on the <code>rel</code> attribute and its use in [[microformats]], see: | |||
== rel microformats == | |||
Specifications and drafts: | |||
* [[XFN]]: [[rel-acquaintance]], [[rel-contact]], [[rel-friend]], [[rel-me]] and other [[xfn]] values. | |||
* [[rel-directory]] | |||
* [[rel-enclosure]] | |||
* [[rel-home]] | |||
* [[rel-license]] | |||
* [[rel-nofollow]] | |||
* [[rel-payment]] | |||
* [[rel-tag]] | |||
See [[existing-rel-values]] for a more comprehensive list of rel values from HTML4, microformats, and other sources. | |||
== articles == | |||
Articles and other tutorials written about the "rel" attribute and microformats use of. Most recent first. | |||
* 2008-09-09 [http://www.ablognotlimited.com/articles/getting-semantic-with-microformats-part-1-rel Getting Semantic With Microformats, Part 1: rel] by [http://www.ablognotlimited.com/ Emily P. Lewis] | |||
See [[articles]] for more articles on microformats in general. | |||
== RDFa Incompatibility == | |||
[[RDFa]] defines a processing model for rel values that is '''incompatible''' with both previous HTML usage of rel (e.g. HTML4), and modern microformats and HTML5 definitions and usage (document scoped). | |||
Adding rel values as defined in microformats and [[HTML5]] can affect RDFa processing in unexpected ways.[http://lists.w3.org/Archives/Public/public-rdfa/2014Oct/0000.html] | |||
== Translations == | |||
Read about the 'rel' attribute in additional <span id="languages">languages</span>: | |||
* [[rel-fr|français]] | |||
* [[rel-ru|Русский]] | |||
== see also == | |||
{{rel-related-pages}} |
Latest revision as of 16:31, 18 July 2020
rel is short for "relationship" and an HTML 4.01 attribute on the a
and link
elements. The 'rel' attribute is used for several popular elemental microformats such as rel-nofollow, rel-license, rel-tag, and XFN. Popularity is noted as of 2005-12 per the Google study on markup use, in particular the use of link relationships, the <a> tag, and related page headers (which noted that "XFN [is] the most popular HTML metadata profile").
For more on the rel
attribute and its use in microformats, see:
rel microformats
Specifications and drafts:
- XFN: rel-acquaintance, rel-contact, rel-friend, rel-me and other xfn values.
- rel-directory
- rel-enclosure
- rel-home
- rel-license
- rel-nofollow
- rel-payment
- rel-tag
See existing-rel-values for a more comprehensive list of rel values from HTML4, microformats, and other sources.
articles
Articles and other tutorials written about the "rel" attribute and microformats use of. Most recent first.
See articles for more articles on microformats in general.
RDFa Incompatibility
RDFa defines a processing model for rel values that is incompatible with both previous HTML usage of rel (e.g. HTML4), and modern microformats and HTML5 definitions and usage (document scoped).
Adding rel values as defined in microformats and HTML5 can affect RDFa processing in unexpected ways.[1]
Translations
Read about the 'rel' attribute in additional languages: