html5/spec Overview.html,1.3838,1.3839

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4617

Modified Files:
	Overview.html 
Log Message:
Suggest some alternative semantic elements for obsolete ones. (whatwg r4791)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3838
retrieving revision 1.3839
diff -u -d -r1.3838 -r1.3839
--- Overview.html	23 Feb 2010 02:01:32 -0000	1.3838
+++ Overview.html	23 Feb 2010 04:53:19 -0000	1.3839
@@ -63510,7 +63510,32 @@
    <dt><dfn id="tt"><code>tt</code></dfn></dt>
    <dt><dfn id="u"><code>u</code></dfn></dt>
    <dt><dfn id="wbr"><code>wbr</code></dfn></dt>
-   <dd><p>Use CSS instead.</dd>
+
+   <dd>
+
+    <p>Use appropriate elements and/or CSS instead.</p>
+
+    <p>For the <code><a href="#s">s</a></code> and <code><a href="#strike">strike</a></code> elements, if
+    they are marking up a removal from the element, consider using the
+    <code><a href="#the-del-element">del</a></code> element instead.</p>
+
+    <p>Where the <code><a href="#tt">tt</a></code> element would have been used for
+    marking up keyboard input, consider the <code><a href="#the-kbd-element">kbd</a></code> element;
+    for variables, consider the <code><a href="#the-var-element">var</a></code> element; for computer
+    code, consider the <code><a href="#the-code-element">code</a></code> element; and for computer
+    output, consider the <code><a href="#the-samp-element">samp</a></code> element.</p>
+
+    <p>Similarly, if the <code><a href="#u">u</a></code> element is being used to
+    indicate emphasis, consider using the <code><a href="#the-em-element">em</a></code> element; if
+    it is being used for marking up keywords, consider the
+    <code><a href="#the-b-element">b</a></code> element; and if it is being used for highlighting
+    text for reference purposes, consider the <code><a href="#the-mark-element">mark</a></code>
+    element.</p>
+
+    <p>See also the <a href="#usage-summary">text-level semantics
+    usage summary</a> for more suggestions with examples.</p>
+
+   </dd>
 
   </dl><hr><p>The following attributes are obsolete (though the elements are
   still part of the language), and must not be used by authors:<dl><!-- alphabetical by element then attribute of first item in group, except CSS goes last --><dt><dfn id="attr-a-charset" title="attr-a-charset"><code>charset</code></dfn> on <code><a href="#the-a-element">a</a></code> elements</dt>

Received on Tuesday, 23 February 2010 04:53:27 UTC