Difference between display none and visibility hidden ?



Difference between display none and visibility hidden ?..

Answer / Prabha Rani

Both `display: none` and `visibility: hidden` hide elements, but they do so differently. When an element is set to `display: none`, it does not take up any space in the layout of the page. On the other hand, when an element is set to `visibility: hidden`, it still takes up space in the layout and can affect the positioning of other elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Web Related AllOther Interview Questions

What happens when I type in some url and press enter?

1 Answers  


When would you use get and post requests?

1 Answers  


Suppose there are two requests for 2 different pages of same site and from 2 different browsers, How Web server recognise the different request and send result to the exact sender browsers.

1 Answers   CA, Intile,


How to test Web application in which the value is changing dynamic every time and anyone can modify it?

1 Answers  


What do you understand by web application?

1 Answers  


What is the search engine optimizetion.

1 Answers   Wild Net,


Give me an example of how you have planned projects from start to finish. What is your development lifecycle?

1 Answers  


what are the steps involved in using the validator framework?

1 Answers   CSC, TCS,


What is application in computer?

1 Answers  


What are VSDISCO files?

3 Answers  


What is an example of a web based application?

1 Answers  


what is the Need for CSS ?

1 Answers   Lambent,


Categories