What is the difference between “display: none” and “visibility: hidden”, when used as attributes to the HTML element.
Answer / 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 |
How would you automatically transfer your visitors to a new web page?
How is fontsize and font size differ in dhtml?
Does footer go inside body?
Does html5 require closing tags?
How do I create a simple web page?
What has the same effect as two br tags?
What are the different ways to use different colors for different links or same link?
Why are there both numerical and named character entity values?
Does document.write work in XHTML?
What is applet code?
How can I show html examples without them being interpreted as part of my document?
How do I make a clickable link in an email?