Web Developer & Designer Question:
Download Job Interview Questions and Answers PDF
Tell us what is the difference between “visibility:hidden” and “display:none”?
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.
☛ 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 Interview Questions And Answers
PDF
Previous Question | Next 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? |