Latest web development tutorials

HTML <b> tag

Examples

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the <b> tag.


Tag definitions and instructions

Text <b> tag defines bold.


Differences between HTML 4.01 and HTML5

no.


Tips and Notes

Note: According to the HTML 5 specification, <b> tag should be the last option only when no other more appropriate marker to use it.HTML 5 specification states: The title should use <h1> - <h6> tag indicates, the emphasized text should use <em> tag indicates, important text should use <strong> tag indicates, marked or highlighted text You should use <mark> tag indicates.

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


Global Properties

<b> tag supports HTML global properties .


Event Properties

<b> tag supports HTML event properties .