The HTML <i> tag
Definition and usage
<i>
Tags define text parts expressed in different tones or moods. The internal content is usually displayed in italics.
<i>
Tags are usually used to represent technical terms, phrases in other languages, ideas, ship names, etc.
Please use only when there are no more suitable semantic elements. <i>
Elements, for example:
See Also:
HTML Tutorial:HTML Text Formatting
HTML DOM Reference Manual:Italic Object
Example
Mark text that is different from ordinary prose in the document:
<p>The value of the href attribute of the link is <i>URL</i>.</p> <p>The luxury liner <i>RMS Titanic</i> sank after hitting an iceberg on April 15, 1912.</p>
Global Attributes
<i>
The tag also supports Global Attributes in HTML.
event attributes
<i>
The tag also supports Event Attributes in HTML.
Default CSS Settings
Most browsers will display the following default values <i>
Element:
i { font-style: italic; }
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |