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's use of <br> command
What is the use of <table> tag?
Is it possible to list elements straight in an html file?
How to handle events with dhtml?
Is innerhtml a string?
How can I display an image on my page?
What is the purpose of 'video' tag in HTML5?
What does tagging someone mean?
What is an inline text?
How do I make a thumbnail for my image(s)?
What is relation present in between <header> and <h1> tags in html5?
What is anchor tag?