7.9.1 base.text.b Bold

Toggle example guides Toggle HTML markup

The <strong> element or the <b> element is for emphasizing a snippet of text with a heavier font-weight.

Feel free to use <b> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance.

Example
The following snippets of text are rendered as bold text. Bold text nested inside italic text should still be bold.
Markup: base/text/text-b.twig
The following snippets of text are <strong class="{{modifier_class}}">rendered</strong> as <b class="{{modifier_class}}">bold
text</b>. Bold text nested inside <i>italic text <b>should</b></i> <em>still be
<strong>bold</strong></em>.
Source: base/text/_text.scss, line 34