Demo of Managing Bold Tag with CSS


Normat text This is bold text. Normal text again

We managed the size and colour of the text within <b> and </b> tag by Style properties. Check the style code below.

HTML

Normat text <b>This is bold text</b>. Normal text again

Style

<style>
b { 
 font-size: 40px;
 color:green;
}
</style>
<html>
<head>
<title></title>
<style>
b { 
 font-size: 40px;
 color:green;
}
</style>
</head>
<body>

Normat text <b>This is bold text</b>. Normal text again

</body>
</html>