Bold Element Tutorial

<b>

Introductory Text

The b element marks-up text bold.

HTML 4.01 (Typographic) definition:

B: Renders as bold text style.”

HTML 5 (Semantic Use) definition:

“The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance [Note: Elementary emphasis.], such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened.”

“The bold element should be used as a last resort when no other element is more appropriate. In particular, headers should use the h1 to h6 elements, stress emphasis should use the em element, importance should be denoted with the strong element, and text marked or highlighted should use the mark element.”

Start tag:
<b>
End tag:
</b>

Use Examples

Example [Basic (HTML 4)]:

This sentence exhibits a single word which has been font-styled with the bold element.

Code [HTML]:

<p>This sentence exhibits a single word which has been font-styled with the »
<b>bold</b> element.</p>


Example [HTML 5 (Extraneous)]:

This page passes HTML 5 conformance thus.

Code [HTML]:

<p>This page passes <b style="position:fixed;bottom:0;right:40px;font-size:6em;"> »
<abbr>HTML</abbr> 5</b> conformance thus.</p>


Content Model/Assigned Attributes

Element-Type:
Text-Level [HTML 4.01]
Phrasing Content [HTML 5]
Attributes:

</b>