Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <i> tag


May 04, 2021 HTML Reference Manual


Table of contents


HTML

The text in the label appears in italics, representing a range of text with special semantics.
<p>He named his car <i>The lightning</i>, because it was very fast.</p>

Try it out . . .

Browser support

HTML <i> tag HTML <i> tag HTML <i> tag HTML <i> tag HTML <i> tag

All major browsers support the hashtag.


Label definition and instructions for use

Define a different part of the text and render it as italic text.

Labels are used to desnase technical terms, idioms in other languages, ideas, spacecraft names, and so on.

When no other semantic element is available, use the element. Other semantic elements are as follows:

Tip: The label must be used with the end label.


The difference between HTML 4.01 and HTML5

In HTML 4.01, the label renders italic text. However, this is not necessary in HTML5, and you can use style sheets to format the text in the element.


Global properties

Labels support the global properties of HTML.


The event property

The tag supports the event properties of HTML.