<em> element is designed to display emphasized text.
The sea was <em>extremely</em>rough.
What a <em>fantastic</em> time we had.
The sea was extremely rough.
What a fantastic time we had.
As you can see the browser shows emphasis by displaying italic text. This is the same for Internet Explorer, Firefox, Chrome and Safari for Windows.
The difference between using the
<em> tag and the
<i> tag is that
<em> adds weight to the meaning of the
<i> merely changes the visual presentation of the text.
This point is important in relation to users with screen readers or other tools which 'speak' the contents of the screen as these tools will respond to the
<em> tag by using a different voice inflection.
- CORE AND LANGUAGE ATTRIBUTES - class, id, title, style, dir, lang
- MOUSE AND KEYBOARD EVENT ATTRIBUTES - onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeydown, onkeyup, onkeypress