The <b> element is typically used to apply bold highlighting to the content of the element. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available. For example, for specific items such as GUI controls, use the <uicontrol> element.


Style sheets can be used to format the <b> element differently, just like any other element can be restyled. Thus, it is not the case that content in <b> elements will necessarily be bold.

Content models

See appendix for information about this element in OASIS document type shells.


+ topic/ph hi-d/b


<p><b>STOP!</b> This is <b>very</b> important!</p>


The following attributes are available on this element: Universal attribute group and @outputclass.

Was this helpful?