HTML Tags

HTML <strong> Tag

The <strong> tag is used to define important or emphasized text that carries strong semantic meaning.
Browsers typically render it in bold, but unlike the <b> tag, it indicates that the enclosed text has greater importance or urgency in the context.
It is useful for accessibility — screen readers will emphasize the text more strongly.

Syntax

<strong>Important text goes here</strong>

Attributes

AttributeDescription
classAssigns one or more class names for styling.
idAssigns a unique identifier to the element.
styleAdds inline CSS styles to customize appearance.
titleProvides additional information as a tooltip.

Example

<!DOCTYPE html>
<html>
<head>
  <title>Strong Tag Example</title>
  <style>
    .important {
      color: #d32f2f;
      font-weight: bold;
      background-color: #fff0f0;
      padding: 2px 6px;
      border-radius: 4px;
    }
  </style>
</head>
<body>
  <h1>HTML &lt;strong&gt; Tag Example</h1>
  <p>
    This tag is used to highlight text that has <strong class="important" id="warning" title="Important Text">strong importance</strong> in meaning.
  </p>
  <p>
    Example: Please <strong>save your work</strong> before exiting the program.
  </p>
</body>
</html>

Output

Browser Output

Use our TryIt Editor to see the output.

Browser Support

Chrome
Chrome
Firefox
Firefox
Edge
Edge
Safari
Safari
Opera
Opera
IE
IE9+
✅Yes✅Yes✅Yes✅Yes✅Yes✅Yes

The <strong> tag displays text in bold, but more importantly, it conveys semantic emphasis that affects accessibility and SEO.

Notes

  • The <strong> tag is semantically meaningful, unlike <b>, which is purely visual.
  • Screen readers emphasize <strong> text, improving accessibility.
  • It is an inline element, meaning it does not start on a new line.
  • You can style <strong> text with CSS to change its color, font weight, or background.

Conclusion

The <strong> tag is used for semantically important content that needs emphasis both visually and contextually.
It enhances readability, accessibility, and SEO — making it more meaningful than the simple <b> tag.

Sign In Form

User your email and password to singn in

Don’t have an account, signup here : 

HTML5 & CSS3

Tools and Tutorials

Want a Website

Want a website for your business ?

Please fill out the details below, so we can reach out to you.

Registration Form

Signup to track your record and much more.

We have sent you an email with a registration link. Please click the link to verify your email address, or enter the 6-digit OTP provided in the email.

Didn't receive the OTP. Regenerate OTP Resend