hixie: Suggest some alternative semantic elements for obsolete ones. (whatwg r4791)

hixie: Suggest some alternative semantic elements for obsolete ones.
(whatwg r4791)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3838&r2=1.3839&f=h
http://html5.org/tools/web-apps-tracker?from=4790&to=4791

===================================================================
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:54:13 UTC