Baseline Widely available
The <i>
HTML element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others. Historically, these have been presented using italicized type, which is the original source of the <i>
naming of this element.
<p>I looked at it and thought <i>This can't be real!</i></p>
<p>
<i>Musa</i> is one of two or three genera in the family <i>Musaceae</i>; it
includes bananas and plantains.
</p>
<p>
The term <i>bandwidth</i> describes the measure of how much information can
pass through a data connection in a given amount of time.
</p>
i {
/* Add your styles here */
}
Attributes
This element only includes the global attributes.
Usage notesUse the <i>
element for text that is set off from the normal prose for readability reasons. This would be a range of text with different semantic meaning than the surrounding text. Among the use cases for the <i>
element are spans of text representing a different quality or mode of text, such as:
lang
attribute to identify the languageIn earlier versions of the HTML specification, the <i>
element was merely a presentational element used to display text in italics, much like the <b>
element was used to display text in bold letters. This is no longer true, as these tags now define semantics rather than typographic appearance. A browser will typically still display the contents of the <i>
element in italic type, but is, by definition, no longer required to do so. To display text in italic type, authors should use the CSS font-style
property.
Be sure the text in question is not actually more appropriately marked up with another element.
This example demonstrates using the <i>
element to mark text that is in another language.
<p>
The Latin phrase <i lang="la">Veni, vidi, vici</i> is often mentioned in
music, art, and literature.
</p>
Result Technical summary Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3