- 0 Talk
-
HTML b element
Redirected from B
| <b> element | |
|---|---|
| Language: | HTML |
| Namespace: | http://www.w3.org/1999/xhtml |
| Description: | boldface text style |
| Element Group: | font style elements |
| Content Model: | inline |
| Start tag: | required |
| End tag: | required |
The <b> HTML element indicates that text should be rendered in a boldface style.
Contents |
Semantics
Edit
The <b> element is purely presentational and does not carry any semantic value. In general, CSS rather than HTML should be used to describe presentation. In order to convey strong emphasis, the <strong> should be used instead.
Attributes
Edit
Example
Edit
This is <b>bold</b> text.
See also
Edit
Specifications
Edit
This HTML article is a stub. You can help by expanding it.