Help Center

Local Navigation

HTML element: <b>


BlackBerry® Device Software 3.7 or later

The <b> element specifies that enclosed text be displayed as bold.


It is best to avoid presentation elements such as the <b> element. You should use semantic elements instead. Semantic elements provide greater flexibility in presentation.

Common attributes

The <b> element supports the class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <b> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.


Was this information helpful? Send us your comments.