<strong>
The <strong> element represents strong importance, seriousness, or urgency for its contents. It indicates that the text is of greater importance than the surrounding text. Browsers typically render this in bold.
This page was last updated on 2025-11-27
Syntax
<strong>important text</strong>
Attributes
- class - CSS class name
- id - Unique identifier
- style - Inline CSS styles
- title - Advisory information
- lang - Language of the content
Examples
Important information:
<p><strong>Warning:</strong> Do not delete this file.</p>
Key terms in instructions:
<p>Click <strong>Save</strong> to preserve your changes.</p>
Urgent notice:
<p><strong>Deadline: Submit your application by Friday.</strong></p>
Nested for increased importance:
<p><strong>Important: <strong>Never share your password</strong> with anyone.</strong></p>
Combined with em:
<p><strong>Note:</strong> This action <em>cannot</em> be undone.</p>
When to Use
Use <strong> when text is of strong importance to the document. This includes warnings, alerts, critical instructions, or key information that readers must not overlook. Screen readers will often announce this text with a different tone to convey its importance.
Do not use <strong> purely for visual bold styling. If you need bold text without semantic importance, use CSS font-weight: bold on a <span> element. The <b> element exists for stylistic bold but <strong> carries semantic meaning.
The difference between <strong> and <em>: <strong> indicates importance or seriousness of the content itself, while <em> indicates stress emphasis (how you would speak it). You can use both together when text is both important and should be emphasized in speech.