HTML <b> Tag


The <b> HTML tag, short for "bold," is a simple inline element used to apply bold formatting to text within a web page. When you enclose text within <b> opening and closing tags, it instructs the web browser to display that text with a heavier or thicker font weight, making it visually stand out from the surrounding text. While it was traditionally used for emphasizing text, it is considered a presentational element, and the more semantically meaningful <strong> tag is recommended for indicating strong importance or emphasis in modern HTML for better accessibility and search engine optimization.


Permitted Parents
Any element that accepts phrasing content
Inline and text
Start/End Tags
Start tag: required, End tag: required


This text is going to be <b>bolder</b>



Global Attributes

The <b> tag also supports the Global Attributes in HTML5

Event Attributes

The <b> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <b> tag.

Edge Chrome Firefox Opera Safari
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview

Last updated by CSSPortal on: 30th September 2023