FANDOM



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

See Global HTML Attributes.


HTML example:

<i>TEXT TEXT</i>

See Also

References

  1. The i element in HTML5

External links