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 |
What are the new FORM elements which are available in HTML5?
What is layer attribute in dhtml?
What is the necessity of empty tag?
What are the limits of the text field size?
What is meant by scripting language?
What is html and its application?
What is viewport html?
What is form tag in html?
What are the components of dynamic html authoring?
What is microdata in html5?
How do you use a br tag?
How to transferring user to new web page automatically?