jump

HTML: The Markup Language (an HTML language reference)

boffset text conventionally styled in bold CHANGED # T

The b element represents a span of text offset from its surrounding content without conveying any extra emphasis or importance, and for which the conventional typographic presentation is bold text; for example, keywords in a document abstract, or product names in a review.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Tag omission #

A b element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

Changes in HTML5 #

Although previous versions of HTML defined the b element only in presentational terms, the element has now been given the specific semantic purpose of representing text “offset from its surrounding content without conveying any extra emphasis or importance, and for which the conventional typographic presentation is bold text”.

DOM interface #

Uses HTMLElement.

Typical default display properties #

b {
font-weight: bold; }