Posts in current category

HTML5 <i> tag


May 03, 2021 15:00 HTML5


Table of contents


<p>He named his car <i>The lightning</i>, because it was very fast.</p>
Try it out . . .

Browser support

HTML5 <i> tag HTML5 <i> tag HTML5 <i> tag HTML5 <i> tag HTML5 <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:


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.