HTML <b> Tag
Description
The <b>
HTML element is used to draw attention to the text, while the importance or significance of the text does not play a role. The text inside <b>
tag is displayed in bold.
Properties
- Permitted Parents
- Any element that accepts phrasing content
- Content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
Example
This text is going to be <b>bolder</b>
Attributes
None
Global Attributes
The <b>
tag also supports the Global Attributes in HTML5
Event Attributes
The <b>
tag also supports the Event Attributes in HTML5
Browser Support
Desktop | |||||
Yes | 12 | Yes | 1 | Yes | Yes |
Tablets / Mobile | |||||
![]() |
|||||
Yes | Yes | 4 | Yes | Yes | Yes |
Last updated by CSSPortal on: 6th December 2019