Table of Contents
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>
<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?
What is the Difference Between HTML em Tag and strong tag?
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.