HTML5 <b> Tag

Example

<p>It was a <b>red</b> house with a <b>blue</b> door.</p>

Try it yourself »

Definition and Usage

The <b> tag makes text bold.

The <b> tag is used to highlight parts of a text.


Differences Between HTML 4.01 and HTML5

None


Tips and Notes

If you want to mark words in a text as more important than the rest, you should use the <strong> tag instead.


Standard Attributes

The <b> tag also supports the Standard Attributes in HTML5.


Event Attributes

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