b

< html‎ | elements
Jump to: navigation, search

b



Summary

The b element (<b>) historically was used to tell the browser to make the nested text bold. While the <b> element is widely supported in browsers, its use is not recommended, as CSS can be used to achieve the same effect. In HTML5, it merely signifies that the text should be stylistically distinguished in some way.


Overview Table

DOM Interface HTMLElement

The <b> element is used to make the nested tag bolded. The use of the <b> is not recommended according to HTML 5 standards as the bold effect can achieved using CSS.

Examples

This example uses the b element to make the text bold.

HTML

This text appears bolded

Notes

Remarks

Standards information


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support Supported (when?)
Supported (when?)
Supported (when?)
Supported (when?)
Supported (when?)

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • strong

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]