HTML <b> Tag



Definition and Usage

The <b>tag is used to make text bold, but it doesn't add any extra meaning or importance to the text.


Tips and Notes

Note: As per the HTML5 rules, only use the tag when no other tag fits better. Headings are marked with <h1> to <h6>, highlighting with , emphasising with<em>, and showing importance with <strong>.


Global Attributes

The <b> tag in HTML can also work with the Global Attributes.


Event Attributes

The <b> tag in HTML can also be used with Event Attributes.


More Examples