Beginner HTML & CSS
Q21 / 100

What does the CSS value "display: none" do to an element?

Correct! Well done.

Incorrect.

The correct answer is B) Completely removes the element from the rendered layout, as if it does not exist

B

Correct Answer

Completely removes the element from the rendered layout, as if it does not exist

Explanation

"display: none" removes the element entirely from the document flow — it takes up no space and is not rendered or announced by most screen readers.

Progress
21/100