HTML <i> Tag
Try it yourself »
The <i> tag is supported in all major browsers.
Definition and Usage
The <i> tag defines a part of text in an alternate voice or mood. The content of the <i> tag is usually displayed in italic.
The <i> tag can be used to indicate a technical term, a phrase from another language, a thought, or a ship name, etc.
Use the <i> element only when there is not a more appropriate semantic element, such as:
- <em> (emphasized text)
- <strong> (important text)
- <mark> (marked/highlighted text)
- <cite> (the title of a work)
- <dfn> (a definition term)
Differences Between HTML 4.01 and HTML5
In HTML 4.01, the <i> tag was used to render text in italics. However, this is not necessarily the case with HTML5. Style sheets can be used to format the text inside the <i> element.
The <i> tag also supports the Global Attributes in HTML.
The <i> tag also supports the Event Attributes in HTML.
Thank You For Helping Us!
Your message has been sent to W3Schools.