HTML <i> Tag
To display a part of the text in the italic form on the browser, the HTML <i> tag is used. This tag, however, does not add any logical meaning to the content within it. The HTML <em> tag is thus used to serve this purpose. Both the tags, however, have the same visual effects.
<!DOCTYPE html> <html> <body> <p> It is rightly said that <i>Don’t talk the talk if you can’t walk the walk</i>.</p> </body> </html>
In the above example, we are using the HTML <i> tag to display a part of the content in the italic form.
The HTML GLobal attributes are supported by the HTML <i> tag.
The HTML Event attributes are supported by the HTML <i> tag.
Chrome, IE, Firefox, Opera and Safari.