Quote:
Originally Posted by JSWolf
<em> and <i> are the same thing. Both italicize the text.
[...]
There is NO difference between <i> & <em> and <b> & <strong>.
|
chaot is in the right here. HTML5 has gone back from saying <i> and <b> is "purely presentational" to giving them semantic meanings.
The article below goes into more detail with some examples:
http://html5doctor.com/i-b-em-strong-element/
You may also want to read W3C's page, "Using <b> and <i> elements":
https://www.w3.org/International/que...a-b-and-i-tags
Quote:
Originally Posted by JSWolf
I can change <i> so it look bold and I can change <b> so it looks italicized. <em> and <strong> can also be modified via CSS. Both pairs have the same default. So really, the pairs are no different.
|
While <i>+<em> and <b>+<strong> typically default to the same look (italics and bold), that doesn't mean they always do (think screen readers).
Also, there could potentially be differences in Text-to-Speech engines. <em> might be spoken with more emphasis on the words, while <i> could be spoken normally.