HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
3784<html> example2009-09-09 11:35
@@ -10588,20 +10588,41 @@
   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;title>Swapping Songs&lt;/title>
+&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>
+  </div>
   <h3>Document metadata</h3>
   <h4>The <dfn><code>head</code></dfn> element</h4>
   <dl class="element">
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code>html</code> element.</dd>