Easy Tutorial
❮ Att Menu Type Av Prop Playbackrate ❯

HTML <b> Tag

Example

<p>This is a normal text - <b>This is a bold text</b>.</p>

Browser Support

All major browsers support the <b> tag.


Definition and Usage

The <b> tag specifies bold text.


Differences Between HTML 4.01 and HTML5

None.


Tips and Notes

Note: According to the HTML5 specification, the <b> tag should be used as a last resort, when no other tag is more appropriate. The HTML5 specification states: headings should be denoted with <h1> - <h6> tags, emphasized text should be denoted with <em> tags, important text should be denoted with <strong> tags, marked/highlighted text should be denoted with <mark> tags.

Tip: You can also use the CSS "font-weight" property to set bold text.


Global Attributes

The <b> tag supports HTML's global attributes.


Event Attributes

The <b> tag supports HTML's event attributes.

❮ Att Menu Type Av Prop Playbackrate ❯