HTML <i> Tag
The i element just italicized text without providing any semantic value to the content.
The <i>
element specifies a section of text in a different voice or mood. Italics are commonly used to highlight the material inside.
The <i>
tag is frequently used to denote a technical word, a phrase from another language, an idea, the name of a ship, and so on.
Use the i element only when no other semantic element, such as <em>
(emphasis text), <strong>
(important content), <mark>
(marked/highlighted text), <cite>
(the title of a work), or <dfn>
, is available (a definition term)
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<i> | Yes | Yes | Yes | Yes | Yes |