HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
319First attempt at a list of link types (they will then be defined in more detail)2006-11-22 01:20
@@ -13089,21 +13089,21 @@ XXX selection ranges -->
    <p>Thus, while it is possible to track users without this feature,
    authors are encouraged to use the <code
    title="attr-hyperlink-ping">ping</code> attribute so that the user agent
    can improve <!-- XXX optimise? --> the user experience.</p> <!--
    XXX need a better way to end that sentence. It's what I mean, but
    it sounds kooky. -->
 
   </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
   define their semantics than HTML4. This section (or indeed this
   specification in general) is unlikely to specify anything related to
   the <code title="attr-head-profile">profile</code> attribute and how
   to extend the link types in HTML. Work in this area is currently
   being done by <a href="http://gmpg.org/">GMPG</a> and <a
   href="http://protogenius.com/rel-schemas/draft-scheid-rel-schemas-00.htm">others</a>.</p>
 
@@ -13162,20 +13162,215 @@ mpt says:
    rel="bookmark" gives permalink of nearest sectioning element
    <dd>The first <code>a</code> element with a <code>rel</code>
    attribute having as one of its values the keyword
    <code>bookmark</code> in a depth first search of the
    <code>article</code> element is the article's permalink.
 
 disallow: http://microformats.org/wiki/rel-enclosure
 
   -->
 
+  <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>,
   <dfn title="attr-hyperlink-usemap"><code>usemap</code></dfn>, <dfn
   title="attr-area-coords"><code>coords</code></dfn>, <dfn
   title="attr-area-shape"><code>shape</code></dfn>, <dfn>server side
   image map</dfn>.</p>
 
   <!-- usemap is special-cased when it starts with a "#".

|