Check out example codes for "css bold text". It will help you in understanding the concepts better.

Code Example 1

.text {
	font-weight: bold;
}

Code Example 2

/* key word "lighter", "normal", "bold", or "bolder" */ 
.normal {
  font-weight: normal;
}

/* number between 100 and 900 */
.heavy {
  font-weight: 900;
}

Code Example 3

we can set text bold using css property named 'font-weight'
Syntax:
selector{
  font-weight: bold;
}

Code Example 4

font-weight: bold;

Learn ReactJs, React Native from akashmittal.com