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.
Tag Uses
Specific uses of <b> tagBold 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.
Tag omission
Both starting and ending tags are necessary for the b element.
Global Attributes
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.