What is the difference between “display: none” and “visibility: hidden”, when used as attributes to the HTML element.
Answer Posted / nashiinformaticssolutions
When we use the attribute “visibility: hidden” for an HTML element then that element will be hidden from the webpage but still takes up space. Whereas, if we use the “display: none” attribute for an HTML element then the element will be hidden, and also it won’t take up any space on the webpage.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you use important?
What does id mean in html?
What is a physical tag and logical tag in html?
Why to use xhtml modularization?
What is ul and li in html?
What is the meaning of markup in html?
What is the canvas element in html5?
How we can insert copy right on browser page?
Why is flash player needed?
How do you use br?
What is the use of id attribute in html?
How do I redirect to another page in html?
Why do we use nav in html?
What is the use of Canvas Element in HTML5?
Is it possible to set specific colors for table borders?