HTML strong Tag Tutorial

In this section, we will learn what HTML <strong> element is and how to use it.

What is <strong> Tag in HTML?

When there’s paragraph in an HTML document and we want to put an emphasis on part of that text, we can use the HTML <strong> element.

Basically, the body of this element is the place where we can put text content to be emphasized more compared to the surrounding text. Note that a screen reader software puts a heavy weight on the content within the body of <strong> element.

Note: browsers render the content in the body of <strong> element in bold face.

HTML <strong> Tag Syntax:

<strong> content </strong>

HTML <strong> Tag Values

The content of the <strong> element is a text we want to emphasize it by making its face bold.

Example: using <strong> tag in HTML

See the Pen using <strong> tag in HTML by Omid Dehghan (@odehghan) on CodePen.

Difference between bold and strong

Other than HTML <strong> element, we have another element called <b> which stands for bold and it will turn the face of a text content into bold just like the way <strong> element does.

Now you might be wondering what’s the difference between these two elements then?

Well, semantically, the <strong> element puts a strong emphasis on the content within its body. You can see this especially when screen readers reach to a text inside a <strong> element, because they read this content with strong emphasis.

But HTML <b> element only turns the face of its text content into bold.

Leave a Reply