<b> element is used to draw the reader’s attention to the marked text without assigning any additional importance to it. This is typically done by making the text bold.
Note: Original legacy usage of this tag is just to set text as bold, but it should now be avoided for solely styling text. Best practice to use CSS for text formatting. The CSS element used for making boldface text is
<b><!-- Text to draw attention to here --></b>
<b> element should only contain text or other tags meant for text content.
<p>Please pay attention to <b>this</b> word.</p>
Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.
Learn HTML on Codecademy
Front-End EngineerFront-end engineers work closely with designers to make websites beautiful, functional, and fast.
Includes 34 Courses
With Professional Certification