Skip to content

Commit

Permalink
[e] (0) Recommend use of class='' with <b>.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9143

git-svn-id: http://svn.whatwg.org/webapps@4896 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 29, 2010
1 parent f4f5a95 commit f461ee5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions complete.html
Expand Up @@ -18279,13 +18279,19 @@ <h4 id=the-b-element><span class=secno>4.6.16 </span>The <dfn><code>b</code></df
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>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>

<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
Expand Down
10 changes: 8 additions & 2 deletions index
Expand Up @@ -18177,13 +18177,19 @@ brighter. A &lt;b&gt;rat&lt;/b&gt; scurries past the corner wall.&lt;/p&gt;</pre
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>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>

<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
Expand Down
10 changes: 8 additions & 2 deletions source
Expand Up @@ -19345,13 +19345,19 @@ brighter. A &lt;b>rat&lt;/b> scurries past the corner wall.&lt;/p></pre>
marked up:</p>
<pre>&lt;article>
&lt;h2>Kittens 'adopted' by pet rabbit&lt;/h2>
&lt;p>&lt;b>Six abandoned kittens have found an unexpected new
mother figure &mdash; a pet rabbit.&lt;/b>&lt;/p>
&lt;p>&lt;b class="lede">Six abandoned kittens have found an
unexpected new mother figure &mdash; a pet rabbit.&lt;/b>&lt;/p>
&lt;p>Veterinary nurse Melanie Humble took the three-week-old
kittens to her Aberdeen home.&lt;/p>
<i>[...]</i></pre>
</div>

<p>As with the <code>i</code> element, authors are encouraged to use
the <code title="attr-class">class</code> attribute on the
<code>b</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>

<p>The <code>b</code> element should be used as a last resort when
no other element is more appropriate. In particular, headings should
use the <code>h1</code> to <code>h6</code> elements, stress emphasis
Expand Down

0 comments on commit f461ee5

Please sign in to comment.