rel-design-pattern

(Difference between revisions)

Jump to: navigation, search
m (Reverted edits by EleltRelbo (Talk) to last version by BenWard)
(put reasons for why this page is unnecessary, steps to take to fix this unnecessary labeling as "design pattern" and warnings to avoid in the future.)
Line 1: Line 1:
= Rel design pattern =
= Rel design pattern =
 +
 +
'''There is no need for the notion of "rel design pattern".  Simply using the rel attribute as it is defined in the HTML spec is not a "design pattern". It's not a "design". It's not a "pattern". It's just using a single feature as it is defined in a spec.'''
 +
 +
[[to-do]]:
 +
# go through all the [[Special:WhatLinksHere/rel-design-pattern|pages that link to this one]] and edit them to not depend on this page, they should simply refer to a [[rel]] attribute page if anything.
 +
# delete most of the content of this page, and leave in place a warning to avoid creating unnecessary "-design-pattern" pages which are simply restatements of using a single feature as already defined in another spec.
 +
 +
[[User:Tantek|Tantek]] 23:43, 30 September 2009 (UTC)
== Purpose ==
== Purpose ==

Revision as of 23:43, 30 September 2009

Contents

Rel design pattern

There is no need for the notion of "rel design pattern". Simply using the rel attribute as it is defined in the HTML spec is not a "design pattern". It's not a "design". It's not a "pattern". It's just using a single feature as it is defined in a spec.

to-do:

  1. go through all the pages that link to this one and edit them to not depend on this page, they should simply refer to a rel attribute page if anything.
  2. delete most of the content of this page, and leave in place a warning to avoid creating unnecessary "-design-pattern" pages which are simply restatements of using a single feature as already defined in another spec.

Tantek 23:43, 30 September 2009 (UTC)

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

Examples

rel="bookmark"

The HTML4 spec describes a bookmark as "a link to a key entry point within an extended document". By convention (citation needed), this entry point also captures the notion of a "permalink".

<a href="archive/entry.html" rel="bookmark">A Document Entry</a>

rel="tag"

rel-tag 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