HTML b tag
HTML b tag bolds a piece of text within a paragraph. It is used to focus the attention of users on keywords.
<p>Firstly the thief enters in the victim's room.Then he steals <b>money</b>, <b>jewellery</b> and <b>kills</b> the victim.</p></>
Firstly the thief enters in the victim's room.Then he steals money, jewellery and kills the victim.
Tag UsesSpecific uses of <b> tag
Bold text draws the attention of user effectively. It is used to highlight keywords.
element can also be used with I element.
The content inside b element can also be formatted using CSS properties.
Both starting and ending tags are necessary for the b element.
All the global attributes are applicable on the b element.
Note: It should not be confused with <strong> element. Because b element is just to format text. While <strong> element is used where caution, note or tip is to write.
Was this article helpful?