style css bold code example
Example 1: css bold text
.text {
font-weight: bold;
}
Example 2: how bold text in css
p.normal {
font-weight: normal;
}
p.thick {
font-weight: bold;
}
p.thicker {
font-weight: 900;
}
Example 3: css bold text
we can set text bold using css property named 'font-weight'
Syntax:
selector{
font-weight: bold;
}