HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3785

SVNBugCommentTime (UTC)
3785<head> examples2009-09-10 08:43
Index: source
===================================================================
--- source	(revision 3784)
+++ source	(revision 3785)
@@ -10639,7 +10639,39 @@
   <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">

|