B&b Royal Case Serial Number
The HTML Bring Attention To element (<b>
) is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b>
for styling text; instead, you should use the CSS font-weight
property to create boldface text, or the <strong>
element to indicate that text is of special importance.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
Content categories | Flow content, phrasing content, palpable content. |
---|---|
Permitted content | Phrasing content. |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parents | Any element that accepts phrasing content. |
Permitted ARIA roles | Any |
DOM interface | HTMLElement |
Attributes
Rocio jurado siempre. This element only includes the global attributes.
View Barnes Group, Inc. B investment & stock information. Get the latest Barnes Group, Inc. B detailed stock quotes, stock data, Real-Time ECN, charts, stats and more. Better Business Bureau helps United States, Canada, and Mexico consumers find businesses and charities they can trust. Find trusted BBB ratings, customer reviews, contact your local BBB, file a complaint, report a scam, read consumer news tips, BBB Auto Line, BBB Military Line.
Usage notes
- Use the
<b>
for cases like keywords in a summary, product names in a review, or other spans of text whose typical presentation would be boldfaced (but not including any special importance). - Do not confuse the
<b>
element with the<strong>
,<em>
, or<mark>
elements. The<strong>
element represents text of certain importance,<em>
puts some emphasis on the text and the<mark>
element represents text of certain relevance. The<b>
element doesn't convey such special semantic information; use it only when no others fit. - Similarly, do not mark titles and headings using the
<b>
element. For this purpose, use the<h1>
to<h6>
tags. Further, stylesheets can change the default style of these elements, with the result that they are not necessarily displayed in bold. - It is a good practice to use the
class
attribute on the<b>
element in order to convey additional semantic information as needed (for example<b>
for the first sentence in a paragraph). This makes it easier to manage multiple use cases of<b>
if your stylistic needs change, without the need to change all of its uses in the HTML. - Historically, the
<b>
element was meant to make text boldface. Styling information has been deprecated since HTML4, so the meaning of the<b>
element has been changed. - If there is no semantic purpose to using the
<b>
element, you should use the CSSfont-weight
property with the value'bold'
instead in order to make text bold.
Examples
Result
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of '<b>' in that specification. | Living Standard | |
HTML5 The definition of '<b>' in that specification. | Recommendation | |
HTML 4.01 Specification The definition of '<b>' in that specification. | Recommendation |
Browser compatibility
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | Safari on iOS | Samsung Internet | |
b | ChromeFull support Yes | EdgeFull support Yes | FirefoxFull support 1
| IEFull support Yes | OperaFull support Yes | SafariFull support Yes | WebView AndroidFull support Yes | Chrome AndroidFull support Yes | Edge MobileFull support Yes | Firefox AndroidFull support 4 | Opera AndroidFull support Yes | Safari iOSFull support Yes | Samsung Internet AndroidFull support Yes |
Legend
- Full support
- Full support
- See implementation notes.
- See implementation notes.
See also
Pelican Case Serial Number Location
B&b Royal Watch Case Serial Numbers
- Others elements conveying text-level semantics:
<a>
,<em>
,<strong>
,<small>
,<cite>
,<q>
,<dfn>
,<abbr>
,<time>
,<code>
,<var>
,<samp>
,<kbd>
,<sub>
,<sup>
,<i>
,<mark>
,<ruby>
,<rp>
,<rt>
,<bdo>
,<span>
,<br>
,<wbr>
.