To add a background color for all <h1> elements, which of the following HTML syntax is used
- A. h1 {background-color: #FFFFFF}
- B. {background-color: #FFFFFF}.h1
- C. h1 {background-color: #FFFFFF}.h1(all)
- D. h1.all{bgcolor = #FFFFFF}
Answer: A. h1 {background-color: #FFFFFF}
Explanation: Correct CSS syntax.