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

Code Example 1

font-weight: bold;

Code Example 2

.text {
	font-weight: bold;
}

Code Example 3

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

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

Code Example 4

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

Code Example 5

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

Code Example 6

font-weight: 200; /*100 200 300 400 500 600 700 800 900 
					Defines from thin to thick characters. 
					400 is the same as normal, 
					and 700 is the same as bold*/

Learn ReactJs, React Native from akashmittal.com