Last Updated on April 26, 2023 by Roshan Parihar
HTML bold tag is the text Formatting tag used in HTML to make text bold. It specifies the bold text without giving importance.
1 |
<p>This is a paragraph with <b>bold text.</b></p> |
Output
This is a paragraph with bold text.
Syntax
The syntax of the tag is given below. Place the text content inside the starting <b>
and closing </b>
tag to highlight the text and make it bold in HTML.
1 |
<b>Enter bold text here...</b> |
The <b>
tag should be the last option to resort when there is no other appropriate option for making text bold. The first option should be the HTML <strong> tag to make text bold.
Global Attributes
The <b>
tag supports the global attributes in HTML
Supported Browsers
- Google Chrome
- Microsoft Edge
- Internet Explorer
- Safari
- Firefox
- Opera