- Element of
- Fonts and Web Typography
- What does
<b> HTML Tagdo?
- The <b> element is used to draw attention to enclosed text without implying any added importance or emphasis. Text surrounded by <b> tags is displayed with a bold typeface.
<p>This text is not bold.</p> <p><b>This text is bold.</b></p>
This text is not bold.
This text is bold.
HTML5 has placed on a strong emphasis on semantic markup, or markup which conveys meaning. The opposite of semantic markup is presentational markup — markup which affects how content is displayed but otherwise carries no particular meaning. Because of this emphasis, the
<strong> element is usually preferred over the
<b> element when used to strongly emphasize portions of text within a document. However, there are cases when the
<strong> element (or another element such as
<mark>) is not semantically appropriate, and the
<b> element is the best option.
Browser Support for b