The branding might change. I'm in favour of span with a class, like: <span class="logo">.

----- Original Message ----- From: "Mike at Green-Beast.com" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 12, 2008 4:42 AM
Subject: Re: [WSG] Decorative bolding


Do I:
a. Use the <b> tag, or...
b. Use a <span> tag and bold it using CSS?

I'd use <span>, <b> is deprecated


Actually it's not deprecated, not in HTML 4, 5 or XHTML 1. If ever there was a case for the use the 'b' element, this might be a good one.

---

Strong is "important" so, as Rachel stated, it isn't appropriate. A span is fine as others have pointed out, but the b element might also be a sound choice in this case. The b element is a highlight of sorts. That is its semantic value, its role as an element in a web document.

From HTML 5:
<blockquote>
The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened.
</blockquote>

It is bold without the importance, at least that is its default rendering. Remember, just because it is bold might not necessarily mean that it is a "style." All elements have a default rendering. Strong is bold and so are headings. They all have a role, and we don't think of those as a style.

A better way to answer the original question might be to ask: Do you want the "value" retained in the mark-up, or is it purely a style that painted onto the presentational layer? Or, worded another way, should the boldened treatment exist without styles?

If it should, then the b might be best. Otherwise I heartily agreee that the span element should be used.

Respectfully,
Mike Cherim






*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to