September 6, 2012

Bold, italic, em and strong. Understanding the difference between these HTML tags

By Donald Ritchie

If you write HTML code, you're almost certainly familiar with the b and i tags, and probably the em and strong tags too. Between them, these tags are used to add emphasis or "strength" to your text in various ways. But do you know the differences between them? And which one you should use in a given situation?

The correct use of these tags can be confusing. Let's look at each of them in turn.