[html5] r6307 - [e] (0) Add example for <link>. Fixing http://www.w3.org/Bugs/Public/show_bug.cg [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jul 15 13:13:02 PDT 2011
Author: ianh
Date: 2011-07-15 13:13:00 -0700 (Fri, 15 Jul 2011)
New Revision: 6307
Modified:
complete.html
index
source
Log:
[e] (0) Add example for <link>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13247
Modified: complete.html
===================================================================
--- complete.html 2011-07-14 23:56:10 UTC (rev 6306)
+++ complete.html 2011-07-15 20:13:00 UTC (rev 6307)
@@ -239,7 +239,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 14 July 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 15 July 2011</h2>
</hgroup><dl><dt>Multiple-page version:</dt>
<dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
<dt>One-page version:</dt>
@@ -14137,6 +14137,21 @@
keyword) and an <a href=#external-resource-link>external resource link</a> (for the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword), and they are
affected by other attributes (such as <code title=attr-link-media><a href=#attr-link-media>media</a></code> or <code title=attr-link-title><a href=#attr-link-title>title</a></code>) differently.</p>
+ <div class=example>
+
+ <p>For example, the following <code><a href=#the-link-element>link</a></code> element creates two
+ hyperlinks (to the same page):</p>
+
+ <pre><link rel="author license" href="/about"></pre>
+
+ <p>The two links created by this element are one whose semantic is
+ that the target page has information about the current page's
+ author, and one whose semantic is that the target page has
+ information regarding the license under which the current page is
+ provided.</p>
+
+ </div>
+
<p>The exact behavior for links to external resources depends on the
exact relationship, as defined for the relevant link type. Some of
the attributes control whether or not the external resource is to be
Modified: index
===================================================================
--- index 2011-07-14 23:56:10 UTC (rev 6306)
+++ index 2011-07-15 20:13:00 UTC (rev 6307)
@@ -243,7 +243,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 14 July 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 15 July 2011</h2>
</hgroup><dl><dt><strong>Web developer edition</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -14006,6 +14006,21 @@
keyword) and an <a href=#external-resource-link>external resource link</a> (for the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword), and they are
affected by other attributes (such as <code title=attr-link-media><a href=#attr-link-media>media</a></code> or <code title=attr-link-title><a href=#attr-link-title>title</a></code>) differently.</p>
+ <div class=example>
+
+ <p>For example, the following <code><a href=#the-link-element>link</a></code> element creates two
+ hyperlinks (to the same page):</p>
+
+ <pre><link rel="author license" href="/about"></pre>
+
+ <p>The two links created by this element are one whose semantic is
+ that the target page has information about the current page's
+ author, and one whose semantic is that the target page has
+ information regarding the license under which the current page is
+ provided.</p>
+
+ </div>
+
<p>The exact behavior for links to external resources depends on the
exact relationship, as defined for the relevant link type. Some of
the attributes control whether or not the external resource is to be
Modified: source
===================================================================
--- source 2011-07-14 23:56:10 UTC (rev 6306)
+++ source 2011-07-15 20:13:00 UTC (rev 6307)
@@ -14916,6 +14916,21 @@
title="attr-link-media">media</code> or <code
title="attr-link-title">title</code>) differently.</p>
+ <div class="example">
+
+ <p>For example, the following <code>link</code> element creates two
+ hyperlinks (to the same page):</p>
+
+ <pre><link rel="author license" href="/about"></pre>
+
+ <p>The two links created by this element are one whose semantic is
+ that the target page has information about the current page's
+ author, and one whose semantic is that the target page has
+ information regarding the license under which the current page is
+ provided.</p>
+
+ </div>
+
<p>The exact behavior for links to external resources depends on the
exact relationship, as defined for the relevant link type. Some of
the attributes control whether or not the external resource is to be
More information about the Commit-Watchers
mailing list