Skip to content

<i> - The Idiomatic Text Element

Inline HTML 2.0

The idiomatic text element represents text in an alternate voice or mood, or otherwise offset from normal prose. It’s typically rendered in italic but has semantic meaning beyond visual styling.

Result
<i>text in alternate voice</i>

The <i> element is for text that’s set off from normal prose for specific semantic reasons.

A critical distinction in HTML:

<!-- Alternate voice/mood, no stress emphasis -->
<p>The word <i>semantics</i> comes from Greek.</p>
<p>The ship <i>HMS Beagle</i> sailed in 1831.</p>

Use <i> for stylistic offset without emphasis.

Result
Result
Result
Result
Result
Result
Result

When introducing an idiom or phrase being discussed:

Result

Always use lang attribute for foreign text:

Result

Customize the appearance:

Result
<p>This is <i>very important</i>.</p>
<p>I'm reading <i>To Kill a Mockingbird</i>.</p>
<p><i>Welcome to our site</i></p>

The <i> element is commonly used for icon fonts (though this is not semantic):

Result
Result
Result
Result
ElementUse CaseExample
<i>Alternate voice/mood<i>foreign word</i>
<em>Stress emphasis<em>really</em> important
<b>Keywords, no importance<b>Product name</b>
<strong>Strong importance<strong>Warning:</strong>
<cite>Titles of works<cite>Book Title</cite>
<dfn>Defining instance<dfn>term</dfn>

Screen readers typically don’t announce <i> differently, but the visual distinction helps sighted users.

Always specify language for foreign text:

<!-- Good: helps screen readers pronounce correctly -->
<i lang="fr">merci</i>
<!-- Poor: screen reader may mispronounce -->
<i>merci</i>

If using <i> for icons, provide text alternatives:

<!-- With visible text -->
<button><i class="icon-save"></i> Save</button>
<!-- Icon only: add aria-label -->
<button aria-label="Save"><i class="icon-save"></i></button>
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <i> element has been supported since the earliest browsers.