WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Semantic markup vs CSS styling for emphasis

for

From: jeff newman
Date: Aug 6, 2003 9:15AM


> Yes, thanks that is a good point. But would you ever just use CSS rather
> than EM or Strong?

Personally, I'd use it to save space.

<em>this is bold</em>

takes up a lot less space than

<span class=strong>this is bold</span> or however you want to structure it.


Even if you're using CSS you still have to mark up where your
emphasis/strong begins and ends. It's much simpler to just use the
appropriate tag than to create a class/div/selector. The only time I can
think of using a CSS solution that doesn't involve <em> or <strong> would
be if I needed different kinds of emphasis for some reason.

Unless I'm totally missing the point of what you're asking (which is
possible... it's only 11:10am... groan....)

jeff



----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/