Skip to content

Commit

Permalink
First attempt at a list of link types (they will then be defined in m…
Browse files Browse the repository at this point in the history
…ore detail)

git-svn-id: http://svn.whatwg.org/webapps@319 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 22, 2006
1 parent 1ea80c2 commit 31c48fe
Show file tree
Hide file tree
Showing 2 changed files with 488 additions and 4 deletions.
295 changes: 292 additions & 3 deletions index
Expand Up @@ -22,7 +22,7 @@

<h1 id=web-applications>Web Applications 1.0</h1>

<h2 class="no-num no-toc" id=working>Working Draft &mdash; 21 November
<h2 class="no-num no-toc" id=working>Working Draft &mdash; 22 November
2006</h2>

<p>You can take part in this work. <a
Expand Down Expand Up @@ -675,7 +675,7 @@
<li><a href="#following"><span class=secno>4.5.2. </span><dfn
id=following0>Following hyperlinks</dfn></a>

<li><a href="#link-types"><span class=secno>4.5.3. </span>Link
<li><a href="#linkTypes"><span class=secno>4.5.3. </span>Link
types</a>

<li><a href="#image"><span class=secno>4.5.4. </span>Image maps</a>
Expand Down Expand Up @@ -14762,7 +14762,7 @@ XXX selection ranges -->
it sounds kooky. -->
</div>

<h4 id=link-types><span class=secno>4.5.3. </span>Link types</h4>
<h4 id=linkTypes><span class=secno>4.5.3. </span>Link types</h4>

<p class=big-issue>This section might at some future point list a small set
of link <code>rel</code>ationship types and more exactly define their
Expand Down Expand Up @@ -14834,6 +14834,295 @@ disallow: http://microformats.org/wiki/rel-enclosure

-->

<table>
<thead>
<tr>
<th rowspan=2>Link type

<th colspan=3>Allowed on...

<th rowspan=2>Brief description

<tr>
<th><code><a href="#link0">link</a></code>

<th><code><a href="#a0">a</a></code>

<th><code><a href="#area0">area</a></code>

<tbody>
<tr>
<td><code title=rel-alternate>alternate</code></td>
<!-- second most used <link rel> value -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives alternate representations of the document.

<tr>
<td><code title=rel-author>author</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives a link to the document's author.

<tr>
<td><code title=rel-bookmark>bookmark</code></td>
<!-- fourth most used <a rel> value -->

<td>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives the permalink for the nearest ancestor section.

<tr>
<td><code title=rel-contact>contact</code></td>
<!-- 8th most used <a rel> value -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives a link to contact information for the document.

<tr>
<td><code title=rel-external>external</code></td>
<!-- fifth and sixth most used <a rel> value (sixth is "external nofollow") -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the target resource is not part of the site that the
document is part of.

<tr>
<td><code title=rel-feed>feed</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives the address of a syndication feed for the document.

<tr>
<td><code title=rel-first>first</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is a part of a series, and that the
first document in the series is the target document.

<tr>
<td><code title=rel-help>help</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Provides a link to context-sensitive help.

<tr>
<td><code title=rel-icon>icon</code></td>
<!-- link rel="shortcut icon" and its ilk are the fourth, sixth, and ninth most used values -->

<td><a href="#links1" title="external resource link">External
Resource</a>

<td>

<td>

<td>Imports an icon to represent the document.

<tr>
<td><code title=rel-index>index</code></td>
<!-- used more than "top" and "contents" on <link> (though on <a>, "contents" wins) -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives a link to the document that provides a table of contents or
index listing the current document.

<tr>
<td><code title=rel-last>last</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is a part of a series, and that the last
document in the series is the target document.

<tr>
<td><code title=rel-license>license</code></td>
<!-- seventh most used <a rel> value -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is covered by the copyright license
described by the target document.

<tr>
<td><code title=rel-next>next</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is a part of a series, and that the next
document in the series is the target document.

<tr>
<td><code title=rel-nofollow>nofollow</code></td>
<!-- most used <a rel> value (and sixth most used is "external nofollow") -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document's original author or publisher does not
endorse the target document.

<tr>
<td><code title=rel-pingback>pingback</code>

<td><a href="#links1" title="external resource link">External
Resource</a>

<td>

<td>

<td>Gives the address of the pingback server that handles pingbacks to
this document.

<tr>
<td><code title=rel-prefetch>prefetch</code>

<td><a href="#links1" title="external resource link">External
Resource</a>

<td>

<td>

<td>Specifies that the target resource should be pre-emptively cached.

<tr>
<td><code title=rel-prev>prev</code></td>
<!-- prev is used more than previous -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is a part of a series, and that the
previous document in the series is the target document.

<tr>
<td><code title=rel-search>search</code></td>
<!-- used quite a bit -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives a link to a resource that can be used to search through the
current document and its related pages.

<tr>
<td><code title=rel-stylesheet>stylesheet</code></td>
<!-- most commonly used <link rel> value, variants came in 7th, 8th, 12th, 17th... -->

<td><a href="#links1" title="external resource link">External
Resource</a>

<td>

<td>

<td>Imports a stylesheet.

<tr>
<td><code title=rel-sidebar>sidebar</code></td>
<!-- used quite a bit -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Specifies that the target document, if retrieved, is intended to be
shown in the browser's sidebar (if it has one).

<tr>
<td><code title=rel-tag>tag</code></td>
<!-- second and third most used <a rel> value (third is technically "category tag"). -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Gives a tag (identified by the given address) that applies to this
document.

<tr>
<td><code title=rel-up>up</code>

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td><a href="#hyperlinks">Hyperlink</a>

<td>Indicates that the document is a part of the target document.
</table>

<h4 id=image><span class=secno>4.5.4. </span>Image maps</h4>

<p class=big-issue>...<dfn id=image0>image map</dfn>, <dfn id=valid5>valid
Expand Down

0 comments on commit 31c48fe

Please sign in to comment.