Signup/Sign In
PUBLISHED ON: FEBRUARY 22, 2021

HTML Strong Tag

HTML <strong> tag is used to mark content having strong importance on a webpage. It works just like the HTML bold tag style-wise, but it adds additional meaning to the text inside this tag which is considered as important by browser and search engines.

  • HTML <strong> tag falls under the category of Phrase tags.

  • The content between the starting and ending <strong> tag always denotes the text which has more importance than the rest of the content.

    difference between bold and strong tag

  • The <strong> tag is also used to provide labels to the paragraphs representing notes or warnings within the text of the webpage.

HTML <strong> Tag Syntax and Usage

The <strong> tag requires the start(opening) tag and end(closing) tag.

<strong>
    important text
</strong>

HTML <strong> Tag Basic Example

Given below is an example showing you the basic usage of <strong> tag:

HTML <strong> Tag Attributes

This element does not have any specific attributes although this element supports Global attributes and Event attributes.

HTML <em> Tag vs <strong> Tag

The <strong> tag is used to indicate the text having more importance from the rest of the content on a webpage. On the other hand, the <em> tag is used to change the meaning of the content as the spoken emphasis does.

Both the <em> and <strong> tags can be nested together for a higher degree of importance.

HTML <b> Tag vs <strong> Tag

We are generally confused between the <b> tag and the <strong> tag/ Let us clear this out, the <strong> tag is used to denote the content having strong or higher importance, whereas the <b> tag is used to draw the attention of the reader without indicating that the text is of higher importance.

So the <b> tag simply adds style, whereas the <strong> tag adds meaning to the text, informing the browser or search engine that the enclosed text is important.

Default CSS Style for HTML <strong> Tag

Most of the Browsers use these default CSS style.

strong {
    font-weight: bold;
}

Browser Support for HTML <strong> Tag

Following browsers support this attribute:

  • Google Chrome 9.0

  • Internet Explorer 11.0

  • Firefox 4+

  • Opera

  • Safari



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.