Short URL: http://html5.org/r/3784
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 3784 | <html> example | 2009-09-09 11:35 |
Index: source =================================================================== --- source (revision 3783) +++ source (revision 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>