HTML <strong> tag

The <strong> tag is used to define bold and important text(s).

Type: Inline Element

Syntax of <strong> tag

<strong>Important texts</strong>

Supported Browsers

Tag Chrome Internet Explorer Firefox Safari Opera Mini
<strong> Yes Yes Yes Yes Yes

There are two HTML tags that can make bold text. - <b> and <strong>.
The texts or characters within all these elements will be rendered in the same style (bold text) but their purposes and when to use are different.

Tag Purpose Valid in HTML5
<strong> makes bold and important text with semantic meaning.
<b> makes bold text only for style and attraction.

Full code example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>
 Please agree the <strong> Terms and Conditions </strong> before submitting the form.
</p>
</body>
</html>
Run The code »

Output on the browser

Please agree the Terms and Conditions before submitting the form.

More reference

<strong> tag is a phrase tag, so it helps in SEO and page visibility on search engine result. In HTML 4.01, it defines strong emphasized texts.

Default CSS property of <strong> tag

strong {
  font-weight: bold;
}

For styling purpose only, span tag provides more flexibility in visual appearance.

<p> I Like
 <span style="color:#e63946; font-weight:700;">
 bold texts </span>.
</p>