In this section, we will learn what <em> element is and how it works.
Italicize HTML: What is <em> Tag in HTML?
HTML <em> element is used when we want to emphasize a text content in a paragraph to essentially put more attention to that text fragment.
The content within the body of <em> element is usually displayed in italic style.
Note: screen-reader apps usually put stress when they reach to a content that is within the body of the <em> element.
HTML <em> Tag Syntax:
<em> text content </em>
HTML <em> Tag Values
The value of HTML <em> element is a text content that we want to emphasize it or basically differentiate it between the surrounding text content.
Example: using <em> tag in HTML
See the Pen using <em> tag in HTML by Omid Dehghan (@odchan1) on CodePen.