Multiple choice css

How do you add a background color for all "

" elements?

  1. all.h1 {background-color:#FFFFFF}

  2. h1.all {background-color:#FFFFFF}

  3. h1 {background-color:#FFFFFF}

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

To style all elements of a type, use the element name as the selector without modifiers. The selector h1 targets all

elements in the document, and the declaration sets their background color.