W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2013

Re: <i>, <em> and font-style:italic in HTML 5

From: David Woolley <forums@david-woolley.me.uk>
Date: Tue, 24 Sep 2013 06:36:38 +0100
Message-ID: <524124E6.9040401@david-woolley.me.uk>
To: w3c-wai-ig@w3.org
On 23/09/13 20:55, Rabab Gomaa wrote:

> http://www.w3.org/TR/2012/CR-html5-20121217/text-level-semantics.html#the-em-element
> The *i *element represents a span of text in an alternate voice or mood.
> The *em* element represents stress emphasis of its contents.
> I believe a class with *style="font-style:italic" *would be like using
> an *i* element to alternate voice or mood *without *emphasis.

If you re talking about how to style "i", that depends on the context 
and the cultural expectations of the users.

However, if you are not talking about how to style "i" elements, style 
on its own should never be used as an alternative to appropriate 
semantic markup, for any reason except purely decorative ones.

(Of course "i" is a cop out.  It is really entirely presentational, but, 
because so widely used, had to be justified by giving it a semantic 
distinction from "em" (and any of the other elements typically rendered 
in italics).)
Received on Tuesday, 24 September 2013 05:37:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:45 UTC