Multiple choice technology web technology

How do you make the text bold?

  1. style:bold

  2. font:b

  3. font-weight:bold

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

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.

AI explanation

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.