Previous Message
Next Message

Re: [css-d] CSS/HTML question re. <span class=..></span>

Sent by Joe Howley on 5 May 2002 18:06


> 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.

===
joe howley
http://joe.sameperson.net/
Previous Message
Next Message

Possibly related: