p.normal { font-weight: normal; } p.thick { font-weight: bold; } p.thicker { font-weight: 900; }
<html> <head> <title>Bold text</title> </head> <body> <p>Use the strong element to <strong>indicate strongly emphasized</strong> content.</p> </body> </html>
<p style="font-weight:bold">Hey there</p>
we can set text bold using css property named 'font-weight' Syntax: selector{ font-weight: bold; }
<b> Bold Text </b>