Encodera

Thanks for reading!

Donate to the site — we work hard for you.

HTML & CSS reference

<em>

Stress emphasis in a sentence; shown in italics by default.

Syntax

<em>stressed text</em>

Examples

The stress changes the meaning of the sentence:

<p>I <em>love</em> coffee.</p>
<p>I love <em>coffee</em>, not tea.</p>

Notes

<em> is the stress you would put on the words when speaking. For italics without that meaning (terms, titles, foreign words) use <i>, and for purely visual slant — CSS font-style: italic.

See also

  • <strong> — Important text; shown in bold by default.
  • <b>, <i>, <u> — Highlighting without extra importance: `<b>` in bold, `<i>` in italics, `<u>` underlined.

Related recipes

In the tutorial

  • Text formatting — Inline tags for text — strong and em, mark, del and ins, sub and sup, code, kbd and pre, abbr and q.

Thanks for reading!

Donate to the site — we work hard for you.