- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 23 Feb 2010 04:57:13 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv5153 Modified Files: Overview.html obsolete.html spec.html Log Message: Suggest some alternative semantic elements for obsolete ones. (whatwg r4791) [updated by splitter] Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.733 retrieving revision 1.734 diff -u -d -r1.733 -r1.734 --- Overview.html 23 Feb 2010 02:07:01 -0000 1.733 +++ Overview.html 23 Feb 2010 04:57:09 -0000 1.734 @@ -306,7 +306,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.3838. +This is revision 1.3839. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.563 retrieving revision 1.564 diff -u -d -r1.563 -r1.564 --- obsolete.html 22 Feb 2010 23:07:04 -0000 1.563 +++ obsolete.html 23 Feb 2010 04:57:10 -0000 1.564 @@ -373,7 +373,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.</p></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="edits.html#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="text-level-semantics.html#the-kbd-element">kbd</a></code> element; + for variables, consider the <code><a href="text-level-semantics.html#the-var-element">var</a></code> element; for computer + code, consider the <code><a href="text-level-semantics.html#the-code-element">code</a></code> element; and for computer + output, consider the <code><a href="text-level-semantics.html#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="text-level-semantics.html#the-em-element">em</a></code> element; if + it is being used for marking up keywords, consider the + <code><a href="text-level-semantics.html#the-b-element">b</a></code> element; and if it is being used for highlighting + text for reference purposes, consider the <code><a href="text-level-semantics.html#the-mark-element">mark</a></code> + element.</p> + + <p>See also the <a href="text-level-semantics.html#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:</p><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="text-level-semantics.html#the-a-element">a</a></code> elements</dt> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.738 retrieving revision 1.739 diff -u -d -r1.738 -r1.739 --- spec.html 23 Feb 2010 02:07:01 -0000 1.738 +++ spec.html 23 Feb 2010 04:57:10 -0000 1.739 @@ -304,7 +304,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.3838. +This is revision 1.3839. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -25270,7 +25270,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.</p></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:</p><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:57:18 UTC