Short URL: http://html5.org/r/319
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 319 | First attempt at a list of link types (they will then be defined in more detail) | 2006-11-22 01:20 |
Index: source =================================================================== --- source (revision 318) +++ source (revision 319) @@ -13096,7 +13096,7 @@ </div> - <h4>Link types</h4> + <h4 id="linkTypes">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 @@ -13169,7 +13169,202 @@ --> + <table> + <thead> + <tr> + <th rowspan="2">Link type</th> + <th colspan="3">Allowed on...</th> + <th rowspan="2">Brief description</th> + </tr> + <tr> + <th><code>link</code></th> + <th><code>a</code></th> + <th><code>area</code></th> + </tr> + </thead> + <tbody> + <tr> + <td><code title="rel-alternate">alternate</code></td> <!-- second most used <link rel> value --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives alternate representations of the document.</td> + </tr> + + <tr> + <td><code title="rel-author">author</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives a link to the document's author.</td> + </tr> + + <tr> + <td><code title="rel-bookmark">bookmark</code></td> <!-- fourth most used <a rel> value --> + <td></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives the permalink for the nearest ancestor section.</td> + </tr> + + <tr> + <td><code title="rel-contact">contact</code></td> <!-- 8th most used <a rel> value --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives a link to contact information for the document.</td> + </tr> + + <tr> + <td><code title="rel-external">external</code></td> <!-- fifth and sixth most used <a rel> value (sixth is "external nofollow") --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the target resource is not part of the site that the document is part of.</td> + </tr> + + <tr> + <td><code title="rel-feed">feed</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives the address of a syndication feed for the document.</td> + </tr> + + <tr> + <td><code title="rel-first">first</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is a part of a series, and that the first document in the series is the target document.</td> + </tr> + + <tr> + <td><code title="rel-help">help</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Provides a link to context-sensitive help.</td> + </tr> + + <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><span title="external resource link">External Resource</span></td> + <td></td> + <td></td> + <td>Imports an icon to represent the document.</td> + </tr> + + <tr> + <td><code title="rel-index">index</code></td> <!-- used more than "top" and "contents" on <link> (though on <a>, "contents" wins) --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives a link to the document that provides a table of contents or index listing the current document.</td> + </tr> + + <tr> + <td><code title="rel-last">last</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is a part of a series, and that the last document in the series is the target document.</td> + </tr> + + <tr> + <td><code title="rel-license">license</code></td> <!-- seventh most used <a rel> value --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is covered by the copyright license described by the target document.</td> + </tr> + + <tr> + <td><code title="rel-next">next</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is a part of a series, and that the next document in the series is the target document.</td> + </tr> + + <tr> + <td><code title="rel-nofollow">nofollow</code></td> <!-- most used <a rel> value (and sixth most used is "external nofollow") --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document's original author or publisher does not endorse the target document.</td> + </tr> + + <tr> + <td><code title="rel-pingback">pingback</code></td> + <td><span title="external resource link">External Resource</span></td> + <td></td> + <td></td> + <td>Gives the address of the pingback server that handles pingbacks to this document.</td> + </tr> + + <tr> + <td><code title="rel-prefetch">prefetch</code></td> + <td><span title="external resource link">External Resource</span></td> + <td></td> + <td></td> + <td>Specifies that the target resource should be pre-emptively cached.</td> + </tr> + + <tr> + <td><code title="rel-prev">prev</code></td> <!-- prev is used more than previous --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is a part of a series, and that the previous document in the series is the target document.</td> + </tr> + + <tr> + <td><code title="rel-search">search</code></td> <!-- used quite a bit --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives a link to a resource that can be used to search through the current document and its related pages.</td> + </tr> + + <tr> + <td><code title="rel-stylesheet">stylesheet</code></td> <!-- most commonly used <link rel> value, variants came in 7th, 8th, 12th, 17th... --> + <td><span title="external resource link">External Resource</span></td> + <td></td> + <td></td> + <td>Imports a stylesheet.</td> + </tr> + + <tr> + <td><code title="rel-sidebar">sidebar</code></td> <!-- used quite a bit --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Specifies that the target document, if retrieved, is intended to be shown in the browser's sidebar (if it has one).</td> + </tr> + + <tr> + <td><code title="rel-tag">tag</code></td> <!-- second and third most used <a rel> value (third is technically "category tag"). --> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Gives a tag (identified by the given address) that applies to this document.</td> + </tr> + + <tr> + <td><code title="rel-up">up</code></td> + <td><span title="hyperlink link">Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td><span>Hyperlink</span></td> + <td>Indicates that the document is a part of the target document.</td> + </tr> + + </tbody> + </table> + + + <h4>Image maps</h4> <p class="big-issue">...<dfn>image map</dfn>, <dfn>valid area</dfn>,