View Single Post
Old 05-23-2014, 10:38 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by hardbound View Post
Isn't there some original specification that explains the reasons behind their introduction?
<i> is intended to be italic, for whatever reason.
<em> is intended to be emphasized, in whichever way.

Usually, italic words are italic because they are emphasized, and emphasized words are displayed in italics, so the defaults are the same and they are mostly interchangeable.

Still, there are situations where <em> is not necessarily italic: in typewriter style it could be underlined, in text-to-speech it's definitely not italic (would it be read with an Italian accent or what?).

There is no real danger in using <i> and <b> instead of <em> and <strong>, provided the accompanying CSS is correct. In fact, you could even use <code>, <pre> or <span>, if you modify the default styles, but that would be akin to obfuscating your code.
Jellby is offline   Reply With Quote