HTML Tag Reference - HTML tag <b>








This <b> element marks the text to be emphasized in boldface.

Browser compatibility

<b> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <b> tag supports the Global Attributes in HTML.

Event Attributes

The <b> tag supports the Event Attributes in HTML.

Default CSS Settings

b { 
    font-weight: bold;
}




Example

A demo showing how to use b tag.

<html>
<body>
     This formulation is
     <b>new</b> and
     <b>improved</b>
</body>
</html>

Click to view the demo