HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3784<html> example2009-09-09 11:35
@@ -10588,20 +10588,41 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
   dynamically thus has no effect (and thus, no DOM API is provided for
   this attribute).</p>
 
   <p class="note">For the purposes of <span
   title="concept-appcache-init">application cache selection</span>,
   later <code>base</code> elements cannot affect the <span
   title="resolve a url">resolving of relative URLs</span> in <code
   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>&lt;!DOCTYPE html>
+<strong>&lt;html lang="en"></strong>
+&lt;head>
+&lt;title>Swapping Songs&lt;/title>
+&lt;/head>
+&lt;body>
+&lt;h1>Swapping Songs&lt;/h1>
+&lt;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.&lt;/p>
+&lt;/body>
+<strong>&lt;/html></strong></pre>
+
+  </div>
+
+
+
 
   <h3>Document metadata</h3>
 
   <h4>The <dfn><code>head</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code>html</code> element.</dd>

|