Web Developer & Designer Question:

Tell us what is the difference between “visibility:hidden” and “display:none”?

Tweet Share WhatsApp

Answer:

They are both style properties

☛ visibility:hidden: This property hides the element, but it still takes up space in the layout
☛ display:none: It eliminates the element completely from the document. It does not take up any space, even though the HTML for it is still in the source code.

Download Web Developer & Designer PDF Read All 68 Web Developer & Designer Questions
Previous QuestionNext Question
Explain me why is the mouse cursor slightly tilted and not straight?Explain me what do you mean by Responsive design on a web page?