UK [bi:] US [bi:]

The second letter of the English alphabet; the seventh tone in the C major scale; B grade, good

html b tag syntax

What does label b mean?

b means bold. The b tag is mainly used to specify bold text in HTML. The characters in the tag will be set to bold. The meaning conveyed by the B tag is only bold and has no other effect.

Function: Specifies bold text.

Note: According to the HTML5 specification, the <b> tag should be used as the last option when no other suitable tag is more suitable.

Note: All browsers support the <b> tag.

html b tag example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>这是普通文本 - <b>这是粗体文本</b>。</p>
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance