Sent by Nicolás_Lichtmaier on 5 May 2002 19:07
>
>
>>Sorry, but I'm curious. Why would anybody want to use <span
>>class="bold"> instead of <b>?
>>
>>
>Well, it depends on what styles are associated with .bold . Maybe you
>want it to be blue as well as heavier? Maybe you want to give it a
>different kind of appearance for printing, or a special aural style?
>I agree that, as a class name, "bold" is kind of redundant (indeed, why
>not use b or strong), but if you want greater styling control, a span
>might be better.
>
>
You should just style the <b> tag. There's no intrinsic differente among
<b> and <span class="bold">. Span is designed for cases when you don't
have an appropiate tag to describe the content.
In the case you say you should just use:
b {
color: blue;
font-weight: 900;
}
The same thing applies to using different presentations or a special
aural style. With one addition: perhaps the user explicitely configured
is "user css" to do something special with <b>.