i tag (XHTML 1.0)

italic text style

Topics

The i tag is used to achieve an italic text style. The tag is extremely easy to use:

<i>Italic text style</i>

The result looks like this:

 

Italic text style

 

The font-style CSS property can be used as an alternative, on any tag with the style, class or id attribute.

Attributes

Attribute Deprecated Required Description
class  space-separated list of classes 
dir  direction for weak/neutral text 
id  document-wide unique id 
lang  language code 
style  associated style info 
title  advisory title 

Events

Event Description
onclicka pointer button was clicked 
ondblclicka pointer button was double clicked 
onkeydowna key was pressed down 
onkeypressa key was pressed and released 
onkeyupa key was released 
onmousedowna pointer button was pressed down 
onmousemovea pointer was moved within 
onmouseouta pointer was moved away 
onmouseovera pointer was moved onto 
onmouseupa pointer button was released 



© htmlpedia.net 2008 - 2012