<strong>

Text of great importance: a warning, key information.

Display
inline
Closing tag
Required
Permitted content
Phrasing content
On this page

Example

#
HTML
<p><strong>Note:</strong> save the file before closing the editor, or you'll lose your changes.</p>
Preview

Definition and usage

#

The <strong> element marks content that is especially important, urgent, or serious, such as a warning in a set of instructions or the most important sentence in a paragraph. Browsers bold such text by default.

Don’t confuse it with <b>. Both elements look the same, but <b> only draws attention (for example, to a keyword in a summary) without adding meaning. If all you want is bold text, use CSS: font-weight: bold.

<strong> elements can be nested to mark an even greater weight for a piece of text.

Syntax

#
Syntax
<strong>important text</strong>

Attributes

#

This element has no attributes of its own. It supports the global attributes, such as class, id and hidden.

Default CSS

#

Most browsers display this element with these default styles:

CSS
strong {
  font-weight: bold;
}

Browser support

#

Widely available

Works in all modern browsers, phones included. You can use it without worry.

  • Chrome
  • Edge
  • Firefox
  • Safari

Good practices

#
  • For stress in speech that changes a sentence’s meaning, use <em>, not <strong>.
  • Don’t bold entire paragraphs. When everything is important, nothing is.

Related entries

#

Spotted a mistake or missing an example? Write to us.