Beginner HTML & CSS
Q9 / 100

Which CSS selector targets an element with id="header"?

Correct! Well done.

Incorrect.

The correct answer is B) #header

B

Correct Answer

#header

Explanation

The "#" symbol selects elements by their id attribute; "." selects by class.

Progress
9/100