hixie: Add example for <link>. (whatwg r6307)

hixie: Add example for <link>. (whatwg r6307)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5038&r2=1.5039&f=h
http://html5.org/tools/web-apps-tracker?from=6306&to=6307

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5038
retrieving revision 1.5039
diff -u -d -r1.5038 -r1.5039
--- Overview.html 14 Jul 2011 23:56:16 -0000 1.5038
+++ Overview.html 15 Jul 2011 20:13:08 -0000 1.5039
@@ -318,7 +318,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-14-july-2011">Editor's Draft 14 July 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-15-july-2011">Editor's Draft 15 July 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -464,7 +464,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 14 July 2011 Editor's Draft.
+  This specification is the 15 July 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -11680,7 +11680,20 @@
   <code><a href="#the-link-element">link</a></code> element has a <code title="attr-link-rel"><a href="#attr-link-rel">rel</a></code> attribute with the value <code title="">next stylesheet</code>, it creates both a
   <a href="#hyperlink">hyperlink</a> (for the <code title="rel-next"><a href="#link-type-next">next</a></code>
   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>The exact behavior for links to external resources depends on the
+  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.<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>&lt;link rel="author license" href="/about"&gt;</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
   applied (as defined below).<div class="impl">

Received on Friday, 15 July 2011 20:13:33 UTC