<b> tag in HTML

The <b> tag used to represent bold text in an HTML document. It should be used to markup text as bold without conveying any extra importance.

Important Description

  • By default the <b> tag font-weight:bold;.
  • Open and close tag required of <b>.

Example of <b> Tag

Result Look Like

Example of b element - This is bold text.

According to the HTML5

  • The <b> tag should be used as a LAST resort when no other tag is more appropriate.
  • The important text should be denoted with the <strong> tag.
  • The highlighted text should use the <,mark> tag.
  • The emphasized text should be denoted with the <em> tag.

<b> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<b> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)