Aabestfontgenerator.
THE TYPE NOTEBOOK

HTML Italics, Emphasis and Alternate Voice

Understand HTML italics with em and i, choose CSS for visual styling and compare the rendered word and its markup.

Choose the HTML element for what the words mean. Use CSS when the only change is how the text looks.

Sources reviewed .

01

Use em when the stress changes how the sentence reads

The HTML standard defines em for stress emphasis. Compare “I meant today” with the stress placed on today versus I. Put the emphasized word in an em element so the markup carries the intended stress. The browser’s usual italic appearance is a separate visual choice.

02

Use i for a span set apart in voice or convention

The standard gives the i element uses such as an idiomatic phrase from another language or a technical term. For example, use <i lang="la">in situ</i> where the Latin phrase is set apart in ordinary English prose. Choose the element by meaning before deciding how the word should be displayed.

03

Apply italic styling separately when the change is visual

Add a class and use font-style: italic when a tagline or other item simply needs a slanted appearance. Read one proof with styles applied and inspect its source to check which spans carry emphasis. Use the CSS font shorthand guide for other font properties and the homepage copyable styles for separate social text.

GOOD QUESTIONS

Your questions, answered.

Are em and i interchangeable?

Both often display in italics, but em marks stress emphasis and i identifies another voice or conventional distinction.

Can CSS italics add semantic emphasis?

CSS changes the presentation. Use appropriate HTML markup to convey the meaning.

Sources & background

Sources supporting this page’s explanations. Practical examples are our editorial suggestions.