Encodera

Thanks for reading!

Donate to the site — we work hard for you.

HTML & CSS reference

<strong>

Important text; shown in bold by default.

Syntax

<strong>Important text</strong>

Examples

An important warning inside a paragraph:

<p><strong>Warning:</strong> the oven is hot.</p>
<p>Orders after 6 pm are delivered <strong>the next day</strong>.</p>

Notes

<strong> marks importance — screen readers may stress it. If you only want bold for looks, use <b> or the CSS font-weight property.

See also

  • <em> — Stress emphasis in a sentence; shown in italics by default.
  • <b>, <i>, <u> — Highlighting without extra importance: `<b>` in bold, `<i>` in italics, `<u>` underlined.
  • <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.