WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Semantic markup vs CSS styling for emphasis

for

From: Miriam Frost Jungwirth
Date: Aug 6, 2003 9:09AM


Hi Mark,

There isn't a conflict between semantic markup and CSS - you would
simply use em or strong and style them -

for example, in your CSS document -
strong {
font-weight: bold;
text-transform: uppercase;
font-color: red; }

and wherever you use strong you'll get bold, capitalized red text.

Semantic _and_ attractive!

~Miriam


On Wednesday, August 6, 2003, at 09:59 AM, Mark Fletcher wrote:

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


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