HTML b Tag

HTML <b> Tag: The b tag defines the bold text. The <b> tag supports both the global and event attributes.

HTML <b> Tag

Browser compatibility

The <b> tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Safari
  • InternetExplorer
  • Opera

Syntax: <b>Text</b>

Example:

<!DOCTYPE html>
<html>
<body>
 <b>Freshersnow tutorials</b>.
</body>
</html>

Output:

Freshersnow tutorials