Magento
M70-301 · Question #100
What is the difference between "display: none" and "visibility: hidden"?
The correct answer is C. The "display: none" rule removes the space used by the element from the page. The "visibility: hidden". See the full explanation below for the reasoning.
Question
What is the difference between "display: none" and "visibility: hidden"?
Options
- AThe "display: none" rule removes the element from the DOM. The "visibility: hidden" rule leaves the
- BThe "display: none" rule leaves the element in the DOM. The "visibility: hidden" rule removes the
- CThe "display: none" rule removes the space used by the element from the page. The "visibility: hidden"
- DThe "display: none" rule reserves space on the page for the element. The "visibility:
How the community answered
(34 responses)- A6% (2)
- B3% (1)
- C79% (27)
- D12% (4)
Community Discussion
No community discussion yet for this question.