Encodera

Thanks for reading!

Donate to the site — we work hard for you.

HTML & CSS reference

<b>, <i>, <u>

Highlighting without extra importance: `<b>` in bold, `<i>` in italics, `<u>` underlined.

Syntax

<b>bold</b> <i>italic</i> <u>underlined</u>

Examples

A keyword, a term and an error mark:

<p><b>Espresso</b> is a strong coffee made under pressure.</p>
<p>The Italian word <i lang="it">barista</i> means bartender.</p>
<p>I like <u>coffe</u> in the morning.</p>

Notes

Unlike <strong> and <em>, these tags add no importance. <i> suits terms, foreign words and titles; <b> suits keywords and product names. <u> is easy to mistake for a link, so it is rare — for example, to mark a spelling mistake.

See also

  • <strong> — Important text; shown in bold by default.
  • <em> — Stress emphasis in a sentence; shown in italics by default.
  • <mark> — Text highlighted as if with a marker — for example, matches in search results.

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.