HTML <b>
Tag
The <b>
tag in HTML is used to make text bold. This tag is a formatting element that is typically used to emphasize certain words or phrases within a paragraph or block of text.
Here is an example of how to use the <b>
tag:
<p>This is a <b>bold</b> text</p>
When rendered in a browser, the text "bold" will appear in bold.
Below is a table displaying the main tag attributes of the <b>
tag along with their uses:
Attribute | Description |
---|---|
None | The <b> tag does not have any specific attributes. |