<strong>

Allows you to bold a term while giving it importance with HTML.
2 min read
Believemy logo

The <strong> tag is used to highlight text in bold while adding semantic meaning.

It indicates that the enclosed content is particularly important. Browsers generally apply bold formatting by default, but the tag is primarily used to convey meaning or importance, not just for visual reasons.

Good to know

Therefore, the <strong> tag should not be confused with the <b> tag, because even though they look visually identical, the <b> tag does not add any additional importance to the enclosed text, unlike the <strong> tag.

 

Structure and syntax of the <strong> tag

Basic structure and syntax

The <strong> tag is a container tag (it works in pairs) with an opening tag and a closing tag.

 

Usage example

It is possible to bold an entire sentence like this:

HTML
<strong>This text is important.</strong>

However, more generally, we prefer to use the <strong> tag to make only certain passages of our paragraphs important.

HTML
<p>Believemy trains more than <strong>10,000 developers per year</strong> on its platform.</p>

Attributes

The <strong> tag has no specific attributes, but it accepts all classic attributes (such as style).

 

Browser compatibility

The <strong> instruction is compatible with all browsers.

ElementGoogle ChromeSafariMozilla FirefoxEdge
<strong>YesYesYesYes

Related terms

Discover our hTML and CSS glossary

Browse the terms and definitions most commonly used in HTML and CSS development.

Share this article

Want to help us? Share this article on your networks or even better: on your site, in an article or in your newsletter.