[html5] r7421 - [e] (0) Encourage lang='' on root element. Fixing https://www.w3.org/Bugs/Public [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 28 11:44:48 PDT 2012


Author: ianh
Date: 2012-09-28 11:44:46 -0700 (Fri, 28 Sep 2012)
New Revision: 7421

Modified:
   complete.html
   index
   source
Log:
[e] (0) Encourage lang='' on root element.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17867
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-09-28 00:03:58 UTC (rev 7420)
+++ complete.html	2012-09-28 18:44:46 UTC (rev 7421)
@@ -14498,6 +14498,11 @@
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of
   an HTML document.</p>
 
+  <p>Authors are encouraged to specify a <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute on the root
+  <code><a href=#the-html-element>html</a></code> element, giving the document's language. This aids speech synthesis tools to
+  determine what pronunciations to use, translation tools to determine what rules to use, and so
+  forth.</p>
+
 <!--TOPIC:Offline Web Applications-->
   <p>The <dfn id=attr-html-manifest title=attr-html-manifest><code>manifest</code></dfn>
   attribute gives the address of the document's <a href=#application-cache>application

Modified: index
===================================================================
--- index	2012-09-28 00:03:58 UTC (rev 7420)
+++ index	2012-09-28 18:44:46 UTC (rev 7421)
@@ -14498,6 +14498,11 @@
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of
   an HTML document.</p>
 
+  <p>Authors are encouraged to specify a <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute on the root
+  <code><a href=#the-html-element>html</a></code> element, giving the document's language. This aids speech synthesis tools to
+  determine what pronunciations to use, translation tools to determine what rules to use, and so
+  forth.</p>
+
 <!--TOPIC:Offline Web Applications-->
   <p>The <dfn id=attr-html-manifest title=attr-html-manifest><code>manifest</code></dfn>
   attribute gives the address of the document's <a href=#application-cache>application

Modified: source
===================================================================
--- source	2012-09-28 00:03:58 UTC (rev 7420)
+++ source	2012-09-28 18:44:46 UTC (rev 7421)
@@ -15311,6 +15311,11 @@
   <p>The <code>html</code> element <span>represents</span> the root of
   an HTML document.</p>
 
+  <p>Authors are encouraged to specify a <code title="attr-lang">lang</code> attribute on the root
+  <code>html</code> element, giving the document's language. This aids speech synthesis tools to
+  determine what pronunciations to use, translation tools to determine what rules to use, and so
+  forth.</p>
+
 <!--TOPIC:Offline Web Applications-->
   <p>The <dfn title="attr-html-manifest"><code>manifest</code></dfn>
   attribute gives the address of the document's <span>application




More information about the Commit-Watchers mailing list