strong
The HTML <strong> element marks text with strong importance, seriousness, or urgency. Browsers usually render it in bold, but its meaning is more important than its default appearance.
What you will learn
- What strong importance and urgency mean in HTML
- How
strongdiffers fromem,b, andmark - When to use semantic importance instead of visual bolding
Basic example
<p><strong>Warning:</strong> Save your work before closing this page.</p>
The warning remains important even if a stylesheet changes its appearance. Screen readers and other tools can also use the semantic information when presenting the page.
How it differs from similar elements
strong: strong importance, seriousness, or urgency.em: emphasis that can change meaning or pronunciation.b: draws attention without saying that the text is more important.mark: highlights text because it is relevant to the current context.
If you only need a heavier font weight for design, use CSS instead of adding a semantic element.