HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3785<head> examples2009-09-10 08:43
@@ -10632,20 +10632,52 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
    <dd><span>Global attributes</span></dd>
    <dt>DOM interface:</dt>
    <dd>
     <pre class="idl">interface <dfn>HTMLHeadElement</dfn> : <span>HTMLElement</span> {};</pre>
    </dd>
   </dl>
 
   <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>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Metadata content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>In a <code>head</code> element containing no other <code>title</code> elements.</dd>
    <dt>Content model:</dt>
    <dd><span title="text content">Text</span>.</dd>

|