The HTML <i></i>
element italicizes all contained text. Note that while it is not officially deprecated, the best practice is to prefer CSS in order to separate presentation from structure. Per HTML5, this element should only be used when italics is prescribed by convention[1]; to denote the higher importance of a segment of text use an em
or strong
element. For all other uses the CSS font-style:italic;
rule is more appropriate.
Attributes[]
- Global Attributes
HTML example:
<i>TEXT TEXT</i>
See Also[]
<em></em>
<strong></strong>
<b></b>
<u></u>
(obsolete)