Thread: Bold vs. Strong
View Single Post
05-05-2009, 05:30 AM
#3
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

<strong> = it requires bold emphasise
Code:
This is the <strong>best site ever!</strong>
<b> = some text is bold for ****s and giggles (when bold adds no semantic meaning, such as breaking up a URL to make it visually easier to read, or because your branding has a normal word and a bold word)
Code:
my<b>pony</b>site.<b>com</b>
Visually is there a difference? No. Browsers will bold both for backward compatibility. Screen readers however will read differently for <strong>, and continue normally for <b>. A valid strict alternative is <span> with a class... visually it can be bolded, yet semantically has no more meaning than any other words around it.

You can simple read the text... if when speaking you emphasise the word it should have <em> or <strong>, if you don't then it doesn't. Think a TV ad, it yells certain bits at you that is more important than the rest.

Reply With Quote