hixie: <head> examples (whatwg r3785)

hixie: <head> examples (whatwg r3785)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2954&r2=1.2955&f=h
http://html5.org/tools/web-apps-tracker?from=3784&to=3785

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2954
retrieving revision 1.2955
diff -u -d -r1.2954 -r1.2955
--- Overview.html 9 Sep 2009 11:31:13 -0000 1.2954
+++ Overview.html 10 Sep 2009 08:38:37 -0000 1.2955
@@ -174,7 +174,7 @@
    <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>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-9-september-2009">Editor's Draft 9 September 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-10-september-2009">Editor's Draft 10 September 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!--
     <dt>This Version:</dt>
@@ -273,7 +273,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 25 August 2009 Working Draft.-->
-  This specification is the 9 September 2009 Editor's Draft.
+  This specification is the 10 September 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -1269,7 +1269,7 @@
   defined and used by that specification and its companion
   specifications. <a href="#refsXHTMLMOD">[XHTMLMOD]</a><p>Thus, authors and implementors who need such a modularization
   scheme are encouraged to continue using the XHTML Modularization
-  line of specifications.<h3 id="html-vs-xhtml"><span class="secno">1.7 </span>HTML vs XHTML</h3><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft</i><p><i>This section is non-normative.</i><p>This specification defines an abstract language for describing
+  line of specifications.<h3 id="html-vs-xhtml"><span class="secno">1.7 </span>HTML vs XHTML</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p><i>This section is non-normative.</i><p>This specification defines an abstract language for describing
   documents and applications, and some APIs for interacting with
   in-memory representations of resources that use this language.<p>The in-memory representation is known as "DOM HTML", or "the DOM"
   for short. This specification defines version 5 of DOM HTML, known
@@ -9049,7 +9049,36 @@
     <pre class="idl">interface <dfn id="htmlheadelement">HTMLHeadElement</dfn> : <a href="#htmlelement">HTMLElement</a> {};</pre>
    </dd>
   </dl><p>The <code><a href="#the-head-element-0">head</a></code> element <a href="#represents">represents</a> a
-  collection of metadata for the <code>Document</code>.<h4 id="the-title-element-0"><span class="secno">4.2.2 </span>The <dfn><code>title</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
+  collection of metadata for the <code>Document</code>.<div class="example">
+
+   <p>The collection of metadata in a <code><a href="#the-head-element-0">head</a></code> element can be
+   large or small. Here is an example of a very short one:</p>
+
+   <pre>&lt;!doctype html&gt;
+&lt;html&gt;
+ &lt;head&gt;
+  &lt;title&gt;A document with a short head&lt;/title&gt;
+ &lt;/head&gt;
+ &lt;body&gt;
+ ...</pre>
+
+   <p>Here is an example of a longer one:</p>
+
+   <pre>&lt;!DOCTYPE HTML&gt;
+&lt;HTML&gt;
+ &lt;HEAD&gt;
+  &lt;META CHARSET="UTF-8"&gt;
+  &lt;BASE HREF="http://www.example.com/"&gt;
+  &lt;TITLE&gt;An application with a long head&lt;/TITLE&gt;
+  &lt;LINK REL="STYLESHEET" HREF="default.css"&gt;
+  &lt;LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text"&gt;
+  &lt;SCRIPT SRC="support.js"&gt;&lt;/SCRIPT&gt;
+  &lt;META NAME="APPLICATION-NAME" CONTENT="Long headed application"&gt;
+ &lt;/HEAD&gt;
+ &lt;BODY&gt;
+ ...</pre>
+
+  </div><h4 id="the-title-element-0"><span class="secno">4.2.2 </span>The <dfn><code>title</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd><a href="#metadata-content">Metadata content</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>In a <code><a href="#the-head-element-0">head</a></code> element containing no other <code><a href="#the-title-element-0">title</a></code> elements.</dd>
@@ -19295,7 +19324,7 @@
   end up being not included in the range(s) of objects returned by the
   same attribute at later times.</p>
 
-  </div><h5 id="offsets-into-the-media-resource"><span class="secno">4.8.10.6 </span>Offsets into the media resource</h5><p class="XXX annotation"><b>Status: </b><i>Being considered for removal</i><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-duration"><a href="#dom-media-duration">duration</a></code></dt>
+  </div><h5 id="offsets-into-the-media-resource"><span class="secno">4.8.10.6 </span>Offsets into the media resource</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-duration"><a href="#dom-media-duration">duration</a></code></dt>
 
    <dd>
 
@@ -48445,7 +48474,7 @@
   it must return the last value it was set to. On setting, the
   attribute must be set to the new value.</p>
 
-  </div><h3 id="links"><span class="secno">6.12 </span>Links</h3><h4 id="hyperlink-elements"><span class="secno">6.12.1 </span>Hyperlink elements</h4><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft</i><p>The <code><a href="#the-a-element">a</a></code>, <code><a href="#the-area-element">area</a></code>, and <code><a href="#the-link-element">link</a></code>
+  </div><h3 id="links"><span class="secno">6.12 </span>Links</h3><h4 id="hyperlink-elements"><span class="secno">6.12.1 </span>Hyperlink elements</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#the-a-element">a</a></code>, <code><a href="#the-area-element">area</a></code>, and <code><a href="#the-link-element">link</a></code>
   elements can, in certain situations described in the definitions of
   those elements, represent <dfn id="hyperlink" title="hyperlink">hyperlinks</dfn>.<p>The <dfn id="attr-hyperlink-href" title="attr-hyperlink-href"><code>href</code></dfn>
   attribute on a hyperlink element must have a value that is a

Received on Thursday, 10 September 2009 08:39:40 UTC