HTML <strong> Element
The HTML <strong> element identifies text that has strong importance, seriousness, or urgency within the surrounding content.
Syntax
<p><strong>Important:</strong> Save your work before closing the browser.</p>
The <strong> element requires both an opening and closing tag. Browsers normally display its contents in bold text, although its purpose is to add importance rather than simply change the appearance of the text.
Attributes
The <strong> element supports the global HTML attributes. It does not have any element-specific attributes.
Example
This example uses the <strong> element to identify an important instruction that should receive more attention than the surrounding text.
Usage Notes
Use the <strong> element when part of the content has strong importance, seriousness, or urgency. Examples include warnings, important instructions, critical information, and text that deserves particular attention.
The <strong> element adds semantic meaning to its contents. Although browsers normally display it in bold, it should not be used simply because you want text to appear bold. Use CSS when the change is purely visual.
The <b> element can draw attention to text without indicating additional importance, while <strong> specifically indicates that its contents have increased importance.
The <em> element represents stress emphasis rather than importance. Choose between <strong> and <em> according to the meaning you want the markup to communicate.
A <strong> element can be nested inside another <strong> element when a portion of already important content needs an even greater level of importance.
Accessibility
The semantic meaning provided by <strong> is more useful than applying bold styling alone because the markup identifies the content as important independently of its visual appearance.
Do not rely only on bold text to communicate warnings or critical instructions. When appropriate, use clear wording and other semantic HTML so the importance of the information can be understood by users regardless of how the page is presented.
Browser Support
Baseline: Widely available indicates a feature has been supported by core browsers for at least 30 months. At this stage, the feature is considered stable and safe for most websites to use without needing to worry about compatibility issues or fallbacks, as it is supported by the vast majority of users' devices and browser versions.
For detailed browser compatibility information, see Can I Use: HTML <strong> Element .
Related Elements
The <strong> element is closely related to the <b> element for drawing attention without indicating increased importance, the <em> element for stress emphasis, and the <mark> element for text that is relevant or highlighted in the current context.
