[html5] r3784 - [e] (0) <html> example

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 9 04:35:31 PDT 2009


Author: ianh
Date: 2009-09-09 04:35:30 -0700 (Wed, 09 Sep 2009)
New Revision: 3784

Modified:
   index
   source
Log:
[e] (0) <html> example

Modified: index
===================================================================
--- index	2009-09-09 10:43:02 UTC (rev 3783)
+++ index	2009-09-09 11:35:30 UTC (rev 3784)
@@ -10128,7 +10128,28 @@
   later <code><a href=#the-base-element>base</a></code> elements cannot affect the <a href=#resolve-a-url title="resolve a url">resolving of relative URLs</a> in <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attributes, as the
   attributes are processed before those elements are seen.</p>
 
+  <div class=example>
 
+   <p>The <code><a href=#the-html-element-0>html</a></code> element in the following example declares
+   that the document's language is English.</p>
+
+   <pre><!DOCTYPE html>
+<strong><html lang="en"></strong>
+<head>
+<title>Swapping Songs</title>
+</head>
+<body>
+<h1>Swapping Songs</h1>
+<p>Tonight I swapped some of the songs I wrote with some friends, who
+gave me some of the songs they wrote. I love sharing my music.</p>
+</body>
+<strong></html></strong></pre>
+
+  </div>
+
+
+
+
   <h3 id=document-metadata><span class=secno>4.2 </span>Document metadata</h3>
 
   <h4 id=the-head-element-0><span class=secno>4.2.1 </span>The <dfn><code>head</code></dfn> element</h4>

Modified: source
===================================================================
--- source	2009-09-09 10:43:02 UTC (rev 3783)
+++ source	2009-09-09 11:35:30 UTC (rev 3784)
@@ -10595,7 +10595,28 @@
   title="attr-html-manifest">manifest</code> attributes, as the
   attributes are processed before those elements are seen.</p>
 
+  <div class="example">
 
+   <p>The <code>html</code> element in the following example declares
+   that the document's language is English.</p>
+
+   <pre><!DOCTYPE html>
+<strong><html lang="en"></strong>
+<head>
+<title>Swapping Songs</title>
+</head>
+<body>
+<h1>Swapping Songs</h1>
+<p>Tonight I swapped some of the songs I wrote with some friends, who
+gave me some of the songs they wrote. I love sharing my music.</p>
+</body>
+<strong></html></strong></pre>
+
+  </div>
+
+
+
+
   <h3>Document metadata</h3>
 
   <h4>The <dfn><code>head</code></dfn> element</h4>




More information about the Commit-Watchers mailing list