HTML <strong> Tag Tutorial - Usage, Syntax,
Attributes and Example

calender-iconPublished: 15 May 2025

clock-icon5-min read





INTRODUCTION

The HTML <strong> element is used for text having strong importance, seriousness or urgency such as warnings. This text could be important to whole page or you can point out some words of importance relative to other content. It is also used for warning labels or notes or any text which is important. Additionally, screen readers use this tags to emphasize important passages in a text.

Display: The contents of <strong> element is shown by browser in bold text. But it should not be used to make any text bold, you can use the CSS font-weight property for that purpose.

Syntax:
<strong> text-content </strong>
Example:

<p>
<strong>Warning:</strong> Do not touch the wires.
</p>

Output

Warning: Do not touch the wires.



Attributes

The <strong> element only has global attribute.




Tag Omission

The HTML <strong> element must have both start tag and end tag.



Strong Tag and Its Effect on SEO

The HTML <strong> tag can influence SEO by indicating to search engines that the enclosed text is significant. Using the <strong> tag strategically can help search engines identify key points in your content, potentially enhancing your search rankings. However, you should avoid excessive use of such HTML tags, as it can make your page appear overoptimized and unnatural to search engines.

Frequently Asked Questions (FAQ)

What is the Difference Between HTML b (bold) Tag and strong tag?
The <b> element is used to draw attention of users to text which is not important and strong element is used for text which is important. While both these elements are rendered same, they have different semantic purposes and should be used accordingly.

What is the Difference Between HTML em Tag and strong tag?
Purpose - The <em> element is used to indicate stress or emphasis in a sentence. It suggests a shift in tone or added emphasis on a word or phrase.
Display - The <em> element is displayed in italic style by default.
Purpose - The <strong> element is used for text that have strong importance, seriousness, or urgency like warnings.
Display - The <strong> element is displayed in bold style by default.

What is the opposite to strong> tag in html?
In HTML, there is no direct "opposite" to the strong tag, because this tag is used to give emphasis and importance to text and there is no semantic tag that negates importance.