HTML Bold

HTML bold tag is represented by <b> tag. It is used to display the written text in bold format. If you want to show your text in bold letters, then put it within <b> . . . </b> tag.

The bold Tag


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Bold Text </title>
</head>
<body>
<p> This is Normal text. </p>
<b> This is Bold Text. </b>
</body>
</html>

Output

HTML Bold Text Example

This is normal text.

This is Bold Text.

The Strong Tag


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Strong Text </title>
</head>
<body>
<p> This is Normal text </p>
<strong> This Text is Strong </strong>
</body>
</html>

Output

HTML Strong Tag Example

This is Normal text

This Text is Strong

Difference between HTML <b> and <strong> tag

The <b> tag is explicit whereas <strong> tag is semantic. The <b> tag is for "offset text conventionally styled in bold". If you read deeper into the details you'll see it adds, "without conveying any extra emphasis or importance".

The <strong> tag adds extra semantic meaning and importance to the HTML document. It is recommended to use strong tag for bold format now.

Browser Support

Element
Microsoft Edge browser.png Edge
Chrome browser.png Chrome
Firefox browser.png Firefox
Opera browser.png Opera
safari browser.png Safari
<bold>
Yes
Yes
Yes
Yes
Yes








Become a Patron!

Note: If the updated content is not visible to you please refresh the cookies by pressing CTRL + Shift + R.