HTML <b> Tag
In this tutorial, we will learn about bold tag in HTML with the help of examples.
<b> Tag
Bold tag <b> is used to make the text look bolder.
Note : We can also use CSS font-weight property to make the text look bolder.
Syntax
<b>....</b>
Example
<!DOCTYPE html>
<html>
<head>
<title>Bold Tag</title>
</head>
<body>
<b>It's harder to read code than to write it.</b>
</body>
</html>
Output
It's harder to read code than to write it.
Global Attribute
Bold Tag support all the global attributes of HTML.
Event Attribute
Bold Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of <b> tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML base
Tag.