1p.normal {
2 font-weight: normal;
3}
4
5p.thick {
6 font-weight: bold;
7}
8
9p.thicker {
10 font-weight: 900;
11}
1<html>
2 <head>
3 <title>Bold text</title>
4 </head>
5 <body>
6 <p>Use the strong element to <strong>indicate strongly emphasized</strong> content.</p>
7 </body>
8</html>
1we can set text bold using css property named 'font-weight'
2Syntax:
3selector{
4 font-weight: bold;
5}