In this section, we will learn what <i> element is and how to use it in HTML.
Italics in HTML with <i> Tag
HTML <i> element stands for italic and is used to italicize a text content that we set as its value.
This element is mainly used when we want to bring more attention to a text in a content simply by italicizing it.
HTML <i> Tag Syntax:
<i> text content </i>
HTML <i> Tag Values
Any text content that we want to bring users’ attention to it simply by italicizing it, could be put in the body of this element.
Example: HTML tag for italic
See the Pen HTML tag for italic by Omid Dehghan (@odehghan) on CodePen.