When to use <strong> and when to use <b>?

Jitendra Vyas picture Jitendra Vyas · Jun 17, 2010 · Viewed 24k times · Source

Possible Duplicate:
Is it ok to use <strong> in place of <b> blindly ?

When to use <strong> and when to use <b> or other ways to give look of bold? strong has semantic value ( and useful for screen reader while b is presentation (and even valid in HTML 5).

my question is not what is the difference between strong and b.

The question is when to use semantic tag and when to use just to make text bold

Should I always use <strong> if client's content files (MS word files) has some words bold in content paragraphs?

alt text http://shup.com/Shup/365676/11051764618-My-Desktop.png

How can we know when client want to give emphasis to text and when he just want to make text bold for presentation/aesthetic purpose?

If it's client job to tell us, then how to explain this scenario to client to give us clear info on "when he just want to make text bold for presentation/aesthetic purpose" ?

Answer

Chris picture Chris · Jun 17, 2010

I've always followed a simple rule of thumb:

  • <strong> means "strong emphasis", and implies no particular visual style. It has semantic meaning, but could look like anything.
  • <b> is used to apply a bold visual effect to text, but is a presentational tag like <font> and so should be avoided (where possible) in favour of CSS.