HTML em: Main Tips
- The HTML
<em>
element marks a piece of text as important in a specific context. - The
<em>
element only supports global attributes.
Use of em
HTML <em>
element answers the question of how to italicize in HTML. Web browsers set the font-style of <em>
element to italic, similarly to the HTML <i> element. However, <em>
also has a semantic meaning.
Note: screen readers render a different tone to specify importance for the text in HTML <em> tags, but do not change tone for the <i> tag.
Browser support
Chrome
1+
Edge
All
Firefox
1+
IE
All
Opera
All
Safari
All
Mobile browser support
Chrome
All
Firefox
4+
Opera
All
Safari
All