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