rel-design-pattern

(Difference between revisions)

Jump to: navigation, search
(See Also)
(Rel design pattern)
Line 6: Line 6:
== How to use it ==
== How to use it ==
-
Add <code>rel="''mf-definition''"</code> to any hyperlink (<code>A</code> with <code>href</code>) that has semantic meaning in the microformat.
+
* define the semantic meaning of a link (<code>A</code> with <code>href</code>) within a micoformat and give it a name <code>''mf-rel-value''</code>
 +
** this definition may also extend to the value of elements and text enclosed by the link
 +
* add <code>rel="''mf-rel-value''"</code> to hyperlinks that have that semantic meaning within that microformat.
 +
* simple microformats that use only the [[rel-design-pattern]] are typically named after the rel-value
== Description ==
== Description ==
 +
 +
[[RelTag]] defines semantic meaning for by the URI and enclosed elements using <code>rel="tag"</code>
 +
 +
<pre>
 +
<a href="http://technorati.com/tag/tech" rel="tag">tech</a>
 +
</pre>
== See Also ==
== See Also ==

Revision as of 11:55, 10 October 2005

Contents

Rel design pattern

Purpose

Use the rel-design-pattern to indicate the meaning of a link (i.e. a href) in an XHTML document

How to use it

Description

RelTag defines semantic meaning for by the URI and enclosed elements using rel="tag"

<a href="http://technorati.com/tag/tech" rel="tag">tech</a>

See Also

rel-design-pattern was last modified: Wednesday, December 31st, 1969

Views