css how to make text bold code example

Example 1: css bold text

.text {
	font-weight: bold;
}

Example 2: css text bold

font-weight: bold;

Example 3: how bold text in css

p.normal {
  font-weight: normal;
}

p.thick {
  font-weight: bold;
}

p.thicker {
  font-weight: 900;
}

Example 4: how to bold text css inline

<p style="font-weight:bold">Hey there</p>

Example 5: how to make bold text css

font-weight: normal|bold|bolder|lighter|number|initial|inherit;

font-weight: 700;

Example 6: css tekst bold

Deze tekst <b>wordt vetgedrukt</b> en dit niet.

Tags:

Css Example