This is an important message requiring you to make a choice if you're based in the EU.

HTML <strong> tag

The <strong> tag highlights an important part of a text. The content of the tag is displayed as bold. Unlike the <b> tag, which specifies bold text, the <strong> tag is a part of semantic markup. The content of the tag has higher weight for the search engines and the devices while reading it are emphasizing the content with special intonation.

To differentiate the text in bold without taking into account its importance use <b> tag or CSS font-weight feature.


The content is written between opening (<strong>) and closing (</strong>) tags. The closing tag is mandatory.


<!DOCTYPE html>
    <title>Title of the document</title>
    <p>We’ve used &lt;strong&gt; tag to highlight <strong> this important part of the text</strong>.</p>



The <strong> tag supports Global Attributes and the Event Attributes.

Browser support

Do you find this helpful?

Related articles