How do you make the text bold?
-
style:bold
-
font:b
-
font-weight:bold
-
None of the above
The font-weight property controls the thickness or boldness of text. Setting it to 'bold' makes text appear thicker. Options A and B use incorrect property names that don't exist in CSS.
To make text bold, you can use the CSS property font-weight:bold.
Option A) style:bold - This option is incorrect because style:bold is not a valid CSS property.
Option B) font:b - This option is incorrect because font:b is not a valid CSS property.
Option C) font-weight:bold - This option is correct because using font-weight:bold makes the text bold.
Option D) None of the above - This option is incorrect because option C (font-weight:bold) is the correct way to make text bold.
Therefore, the correct answer is option C.