Multiple choice

Which of the following is the correct syntax for making all the paragraph (p) tags bold?

  1. p {text-size:bold;}

  2. p {text-size=bold;}

  3. p {font-weight:bold;}

  4. p style=text-size:bold;

  5. p={text-size:bold}

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

The font-weight property sets how thick or thin characters in text should be displayed. It can be used to display the text in bold letters.