Name
b — HTML 4.01 | HTML5
Synopsis
<b> . . . </b>
Renders the enclosed text in a bold font. Authors are advised to
use the strong
element when
semantically correct.
Notes
In HTML5, the b
element is
slightly redefined as text that is emboldened without intending any
extra importance, such as a keyword or a product name.
Start/End Tags
Required/Required
Attributes
Core, Internationalization, Events, HTML5 Global Attributes
Example
Turn left onto<b>
Blackstone Blvd.</b>
.
Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.