Skip to content
Browse files

[e] (0) <head> examples

git-svn-id: http://svn.whatwg.org/webapps@3785 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent edd2791 commit 99ae7af0142ec9efbfcd8a0966f38107ecb05f16 @Hixie Hixie committed
Showing with 65 additions and 1 deletion.
  1. +33 −1 index
  2. +32 −0 source
View
34 index
@@ -71,7 +71,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML5</h1>
- <h2 class="no-num no-toc" id=draft-standard-&mdash;-9-september-2009>Draft Standard &mdash; 9 September 2009</h2>
+ <h2 class="no-num no-toc" id=draft-standard-&mdash;-10-september-2009>Draft Standard &mdash; 10 September 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -10169,6 +10169,38 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
</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>.</p>
+ <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>
View
32 source
@@ -10639,6 +10639,38 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
<p>The <code>head</code> element <span>represents</span> a
collection of metadata for the <code>Document</code>.</p>
+ <div class="example">
+
+ <p>The collection of metadata in a <code>head</code> element can be
+ large or small. Here is an example of a very short one:</p>
+
+ <pre>&lt;!doctype html>
+&lt;html>
+ &lt;head>
+ &lt;title>A document with a short head&lt;/title>
+ &lt;/head>
+ &lt;body>
+ ...</pre>
+
+ <p>Here is an example of a longer one:</p>
+
+ <pre>&lt;!DOCTYPE HTML>
+&lt;HTML>
+ &lt;HEAD>
+ &lt;META CHARSET="UTF-8">
+ &lt;BASE HREF="http://www.example.com/">
+ &lt;TITLE>An application with a long head&lt;/TITLE>
+ &lt;LINK REL="STYLESHEET" HREF="default.css">
+ &lt;LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text">
+ &lt;SCRIPT SRC="support.js">&lt;/SCRIPT>
+ &lt;META NAME="APPLICATION-NAME" CONTENT="Long headed application">
+ &lt;/HEAD>
+ &lt;BODY>
+ ...</pre>
+
+ </div>
+
+
<h4>The <dfn><code>title</code></dfn> element</h4>

0 comments on commit 99ae7af

Please sign in to comment.
Something went wrong with that request. Please try again.