Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

HTML bold tag

HTML bold tag is represented by <b> tag.

HTML <b> tag is used to display the written text in bold format. It is strictly a presentational element. If you want to show your text in bold letters and not have real semantic meaning, then put it within <b>…….</b> tag.

Difference between HTML <b> and <strong> tag

The b tag is explicit whereas strong tag is semantic.The <strong> tag adds extra semantic meaning to the HTML document.

It is recommended to use strong tag for bold format now.

HTML bold tag example

  1. <p> Hello guys, <b>this is the method to write bold text.</b></p>

Test it Now


Hello guys, this is the method to write bold text.

Note: According to HTML5 specification, b tag should be used only if no other tag is appropriate. For example: If you want to write a heading, you must use the header tag <h1> to <h6>. Important statement should be denoted within <strong>…..</strong> tag, and the text you want to mark or highlight, must be put within <mark>…</mark> tag.

There is also a CSS ‘font-weight’ property to set bold text.

Supporting Browsers

Element chrome_browser Chrome ie_browser IE firefox_browser Firefox opera_browser Opera safari_browser Safari
<b> Yes Yes Yes Yes Yes