- From: Lachlan Hunt via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 09 Mar 2009 16:00:33 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-author
In directory hutz:/tmp/cvs-serv26827
Modified Files:
Overview.html Overview.src.html
Log Message:
Added some description of the head element
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/html-author/Overview.html,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- Overview.html 9 Mar 2009 15:22:14 -0000 1.60
+++ Overview.html 9 Mar 2009 16:00:30 -0000 1.61
@@ -46,13 +46,13 @@
.big-issue, .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
.big-issue > :first-child, .XXX > :first-child { margin-top: 0; }
p .big-issue, p .XXX { line-height: 3em; }
-
+
dfn { font-style:normal; font-weight:bold }
code { color:orangered }
code :link, code :visited { color:inherit }
pre code { color:inherit }
pre mark, pre strong { background: yellow; font-weight: normal; }
-
+
.case-insensitive:hover { text-transform: lowercase; }
.case-insensitive.lower:hover { text-transform: uppercase; }
</style>
@@ -1242,6 +1242,42 @@
</div>
</div>
</div>
+
+ <p>The <code><a href="#the-head-element">head</a></code> element is the container for the document’s
+ metadata. Metadata is information about the document itself, such as
+ it's title, author. Scripts and stylesheets may also be included
+ within the <code><a href="#the-head-element">head</a></code> element. Every document must have a
+ <code><a href="#the-head-element">head</a></code> element.</p>
+
+ <p>The following examples illustrate the typical usage of the
+ <code><a href="#the-head-element">head</a></code> element in HTML and XHTML.</p>
+
+ <div class="example html">
+ <p>HTML Example</p>
+ <pre><!DOCTYPE html>
+<html>
+<strong><a href="#the-head-element"><head></a></strong>
+ <title>Example</title>
+<strong><a href="#the-head-element"></head></a></strong>
+<body>
+ <h1>Document</h1>
+</body>
+</html>
+</pre>
+ </div>
+
+ <div class="example xhtml">
+ <p>XHTML Example</p>
+ <pre><html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>Example</title>
+</head>
+<strong><a href="#the-body-element"><body></a></strong>
+ <h1>Document</h1>
+<strong><a href="#the-body-element"></body></a></strong>
+</html>
+</pre>
+ </div>
<!-- The title Element -->
<div class="element">
Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html-author/Overview.src.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Overview.src.html 9 Mar 2009 15:56:41 -0000 1.62
+++ Overview.src.html 9 Mar 2009 16:00:31 -0000 1.63
@@ -1060,6 +1060,44 @@
</div>
</div>
</div>
+
+ <p>The <code>head</code> element is the container for the document’s
+ metadata. Metadata is information about the document itself, such as
+ it's title, author. Scripts and stylesheets may also be included
+ within the <code>head</code> element. Every document must have a
+ <code>head</code> element.</p>
+
+ <p>The following examples illustrate the typical usage of the
+ <code>head</code> element in HTML and XHTML.</p>
+
+ <div class="example html">
+ <p>HTML Example</p>
+ <pre>
+<!DOCTYPE html>
+<html>
+<strong><head></strong>
+ <title>Example</title>
+<strong></head></strong>
+<body>
+ <h1>Document</h1>
+</body>
+</html>
+</pre>
+ </div>
+
+ <div class="example xhtml">
+ <p>XHTML Example</p>
+ <pre>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>Example</title>
+</head>
+<strong><body></strong>
+ <h1>Document</h1>
+<strong></body></strong>
+</html>
+</pre>
+ </div>
<!-- The title Element -->
<div class="element">
Received on Monday, 9 March 2009 16:00:43 UTC