<i> tag

HTML <i> tag

The <i> tag formats text in document to italic text.

Syntax:
<i>Text here..</i>

Example

<p><i>italic text</i></p>

Default CSS Value

font-style: italic;

How Browser will display

INLINE.

Difference between HTML4.01, XHTML and HTML5

HTML4 XHTML HTML5
HTML4 uses <i> tag to render the mark the text in italics. NA In HTML5, it is normally used to display a phrase or technical term.

Attributes used with <i> tag

NONE

Global Attributes

The <i> tag  supports Global attributes.

Event Attributes

The <i> tag supports Event attributes.

Supporting Browsers

supporting-browsers for tags

Related Tags

<em>, <cite>, <dfn>, <strong>, <mark> & <kbd> tags.

Tutorials for all brains!