What is the <i> tag in HTML?
The <i> tag in HTML
The <i> tag is used to display text in an alternate mood. The structure of the <i> tag is as follows:
<i>Text Here</i>
The text enclosed in the <i> tag is displayed in italics. It is normally used to indicate terms, thoughts, text from another language, etc. An alternate to the <i> tag is the <em> (emphasize) tag. The <em> tag has a higher semantic value than the <i> tag.
Example usage of the <i> tag
The following code provides an example:
In the example above, only the text enclosed in the <i> tag is italicized, and the remaining text is not.
Browser Support
| Browser | Support |
|---|---|
| Chrome | Yes |
| Firefox | Yes |
| Safari | Yes |
| Edge | Yes |
| Opera | Yes |
Free Resources
Copyright ©2026 Educative, Inc. All rights reserved