liveBook · Manning

B element

The HTML b element marks text as stylistically distinct without conveying strong importance or emphasis.

How 2 Manning books explain it

Build a Website with ChatGPT

The b element is an HTML element that draws attention to text without assigning it strong importance or emphasis.

How it is used
Marks keywords, names, and interface labels that need attention without assigning importance or emphasis.
How deep it goes
Defines the element, shows its bold browser rendering, and distinguishes its subtle semantics from strong and em.
Examples
Uses product names, company names, celebrity names, article openings, menu labels, and commands as keyword examples.
What you can do after
Apply it by wrapping keywords or interface labels in b tags and checking their bold browser rendering.

Read how Build a Website with ChatGPT explains b element →

Design for Developers

The HTML b element draws attention to text without conveying that the text has greater importance.

How it is used
Draws attention to words through bold styling without marking them as more important.
How deep it goes
Distinguishes <b> from <strong> and CSS font-weight, but does not detail implementation beyond basic markup and styling.
Examples
Uses highlighted words, semantically important text, and Figure 8.12 to contrast attention with importance.
What you can do after
Apply it to draw attention, choosing <strong> when importance is intended and CSS when emphasis is purely visual.

Read how Design for Developers explains b element →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.