HTML i Tag

HTML i tag: The HTML<i> tag displays the text in italic. This tag defines a part of the text in an alternate voice or mood. This can be used to indicate a technical term, a phrase from another language, a thought, or a ship name, etc. In HTML4 the <i> tag was used to extract the text in italics in HTML4. But in HTML5 it is not essential.


It supports both the global and the event attributes. Use this  element only when there is not a more appropriate semantic element, such as:

  • <em> (emphasized text)
  • <strong> (important text)
  • <mark> (marked/highlighted text)
  • <cite> (the title of a work)
  • <dfn> (a definition term)

Syntax: <i> Text </i>

Browser compatibility

This tag is supported by different types of attributes.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer


<!DOCTYPE html>
<p>Welcome to <i>Freshersnow tutorial</i></p>


Welcome to Freshersnow tutorial