Short URL: http://html5.org/r/4791
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 4791 | 9021 | Suggest some alternative semantic elements for obsolete ones. | 2010-02-23 04:52 |
Index: source
===================================================================
--- source (revision 4790)
+++ source (revision 4791)
@@ -19062,7 +19062,7 @@
- <h4>Usage summary</h4>
+ <h4 id="usage-summary">Usage summary</h4>
<p><i>This section is non-normative.</i></p>
@@ -93316,8 +93316,33 @@
<dt><dfn><code>tt</code></dfn></dt>
<dt><dfn><code>u</code></dfn></dt>
<dt><dfn><code>wbr</code></dfn></dt>
- <dd><p>Use CSS instead.</p></dd>
+ <dd>
+
+ <p>Use appropriate elements and/or CSS instead.</p>
+
+ <p>For the <code>s</code> and <code>strike</code> elements, if
+ they are marking up a removal from the element, consider using the
+ <code>del</code> element instead.</p>
+
+ <p>Where the <code>tt</code> element would have been used for
+ marking up keyboard input, consider the <code>kbd</code> element;
+ for variables, consider the <code>var</code> element; for computer
+ code, consider the <code>code</code> element; and for computer
+ output, consider the <code>samp</code> element.</p>
+
+ <p>Similarly, if the <code>u</code> element is being used to
+ indicate emphasis, consider using the <code>em</code> element; if
+ it is being used for marking up keywords, consider the
+ <code>b</code> element; and if it is being used for highlighting
+ text for reference purposes, consider the <code>mark</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>