hixie: Recommend use of class='' with <b>. (whatwg r4896)

hixie: Recommend use of class='' with <b>. (whatwg r4896)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3916&r2=1.3917&f=h
http://html5.org/tools/web-apps-tracker?from=4895&to=4896

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3916
retrieving revision 1.3917
diff -u -d -r1.3916 -r1.3917
--- Overview.html 29 Mar 2010 06:08:01 -0000 1.3916
+++ Overview.html 29 Mar 2010 21:48:09 -0000 1.3917
@@ -15673,12 +15673,16 @@
    marked up:</p>
    <pre>&lt;article&gt;
  &lt;h2&gt;Kittens 'adopted' by pet rabbit&lt;/h2&gt;
- &lt;p&gt;&lt;b&gt;Six abandoned kittens have found an unexpected new
- mother figure &mdash; a pet rabbit.&lt;/b&gt;&lt;/p&gt;
+ &lt;p&gt;&lt;b class="lede"&gt;Six abandoned kittens have found an
+ unexpected new mother figure &mdash; a pet rabbit.&lt;/b&gt;&lt;/p&gt;
  &lt;p&gt;Veterinary nurse Melanie Humble took the three-week-old
  kittens to her Aberdeen home.&lt;/p&gt;
 <i>[...]</i></pre>
-  </div><p>The <code><a href="#the-b-element">b</a></code> element should be used as a last resort when
+  </div><p>As with the <code><a href="#the-i-element">i</a></code> element, authors are encouraged to use
+  the <code title="attr-class"><a href="#classes">class</a></code> attribute on the
+  <code><a href="#the-b-element">b</a></code> element to identify why the element is being used, so
+  that if the style of a particular use is to be changed at a later
+  date, the author doesn't have to go through annotating each use.<p>The <code><a href="#the-b-element">b</a></code> element should be used as a last resort when
   no other element is more appropriate. In particular, headings should
   use the <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> to <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code> elements, stress emphasis
   should use the <code><a href="#the-em-element">em</a></code> element, importance should be denoted

Received on Thursday, 1 April 2010 05:36:21 UTC