[html5] r3785 - [e] (0) <head> examples

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 10 01:43:05 PDT 2009


Author: ianh
Date: 2009-09-10 01:43:04 -0700 (Thu, 10 Sep 2009)
New Revision: 3785

Modified:
   index
   source
Log:
[e] (0) <head> examples

Modified: index
===================================================================
--- index	2009-09-09 11:35:30 UTC (rev 3784)
+++ index	2009-09-10 08:43:04 UTC (rev 3785)
@@ -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-—-9-september-2009>Draft Standard — 9 September 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-10-september-2009>Draft Standard — 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,7 +10169,39 @@
   </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><!doctype html>
+<html>
+ <head>
+  <title>A document with a short head</title>
+ </head>
+ <body>
+ ...</pre>
+
+   <p>Here is an example of a longer one:</p>
+
+   <pre><!DOCTYPE HTML>
+<HTML>
+ <HEAD>
+  <META CHARSET="UTF-8">
+  <BASE HREF="http://www.example.com/">
+  <TITLE>An application with a long head</TITLE>
+  <LINK REL="STYLESHEET" HREF="default.css">
+  <LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text">
+  <SCRIPT SRC="support.js"></SCRIPT>
+  <META NAME="APPLICATION-NAME" CONTENT="Long headed application">
+ </HEAD>
+ <BODY>
+ ...</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>

Modified: source
===================================================================
--- source	2009-09-09 11:35:30 UTC (rev 3784)
+++ source	2009-09-10 08:43:04 UTC (rev 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><!doctype html>
+<html>
+ <head>
+  <title>A document with a short head</title>
+ </head>
+ <body>
+ ...</pre>
+
+   <p>Here is an example of a longer one:</p>
+
+   <pre><!DOCTYPE HTML>
+<HTML>
+ <HEAD>
+  <META CHARSET="UTF-8">
+  <BASE HREF="http://www.example.com/">
+  <TITLE>An application with a long head</TITLE>
+  <LINK REL="STYLESHEET" HREF="default.css">
+  <LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text">
+  <SCRIPT SRC="support.js"></SCRIPT>
+  <META NAME="APPLICATION-NAME" CONTENT="Long headed application">
+ </HEAD>
+ <BODY>
+ ...</pre>
+
+  </div>
+
+
+
   <h4>The <dfn><code>title</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list