Explain the difference between visibility: hidden and display: none?

Answer Posted / hrpynux@gmail.com

hidden hides the element, but it still takes up space in the layout. display: none removes 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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of embedded style sheet?

336


What is the use of hsl()?

336


Explain the concept of specificity in css.

331


How do I set margins?

348


In how many ways can a CSS be integrated as a web page?

502






How we can create text shadow and box shadow in css3?

346


What is the difference between a css reset and normalize.css?

357


What are css3 media types?

513


What is css backface-visibility property?

390


What is the style attribute?

319


What is hover over image?

343


What is a cascading relationship?

342


Does the order of css matter?

368


What is the difference between “word-break: break-all” and “word-wrap: break-word” in css?

364


How do I center my header?

337