The <em> tag in HTML is a phrase tag and used to emphasize the text content. It is similar to <italic> tag. The main difference between these two tag is the <em> tag semantically emphasizes on the important word or section of words while <i> tag is just offset text conventionally styled in italic to show alternative mood or voice.
Note: This effect can be achieved by using CSS property.
<em> Contents... </em>
Example 1: This example uses <em> tag to create emphasized text.
Example 2: This example uses <em> tag with title attribute to create emphasized text.
- Google Chrome
- Internet Explorer