Skip to content
Browse files

[e] (0) <head> examples

git-svn-id: 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 10, 2009
1 parent edd2791 commit 99ae7af0142ec9efbfcd8a0966f38107ecb05f16
Showing with 65 additions and 1 deletion.
  1. +33 −1 index
  2. +32 −0 source
34 index
@@ -71,7 +71,7 @@
<div class=head>
<p><a class=logo href= rel=home><img alt=WHATWG src=/images/logo></a></p>
<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=>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=>FAQ</a>, a <a href=>forum</a>, and a <a href=>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="">mailing list</a> for you too!</p>-->
</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;title&gt;A document with a short head&lt;/title&gt;

<p>Here is an example of a longer one:</p>

<pre>&lt;!DOCTYPE HTML&gt;
&lt;META CHARSET="UTF-8"&gt;
&lt;BASE HREF=""&gt;
&lt;TITLE&gt;An application with a long head&lt;/TITLE&gt;
&lt;LINK REL="STYLESHEET" HREF="default.css"&gt;
&lt;SCRIPT SRC="support.js"&gt;&lt;/SCRIPT&gt;
&lt;META NAME="APPLICATION-NAME" CONTENT="Long headed application"&gt;


<h4 id=the-title-element-0><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>

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;title>A document with a short head&lt;/title>

<p>Here is an example of a longer one:</p>

<pre>&lt;!DOCTYPE HTML>
&lt;BASE HREF="">
&lt;TITLE>An application with a long head&lt;/TITLE>
&lt;LINK REL="STYLESHEET" HREF="default.css">
&lt;SCRIPT SRC="support.js">&lt;/SCRIPT>
&lt;META NAME="APPLICATION-NAME" CONTENT="Long headed application">


<h4>The <dfn><code>title</code></dfn> element</h4>

0 comments on commit 99ae7af

Please sign in to comment.
You can’t perform that action at this time.