E-mail List Archives

Re: HTML5 and new elements (was Re: Use of SAMP to highlight search results)


From: Jukka K. Korpela
Date: Oct 28, 2010 11:18PM

Patrick H. Lauke wrote:

>> The good old HTML specifications even said that browsers _must_
>> render EM and STRONG elements differently from each other and from
>> normal text.
> All I can find in that regard is this under
> http://www.w3.org/TR/REC-html40/struct/text.html#h-9.2.1
> "EM and STRONG are used to indicate emphasis. [...] The presentation
> of phrase elements depends on the user agent. Generally, visual user
> agents present EM text in italics and STRONG text in bold font."

The _good old_ specification is HTML 2.0, which says:

"User agents must render highlighted phrases distinctly from plain text.
Additionally, EM content must be rendered as distinct from STRONG content,
and B content must rendered as distinct from I content."

Yucca, http://www.cs.tut.fi/~jkorpela/