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
What are the new image elements in HTML5?
What happens if doctype is not specified?
What is xhtml? Why is xhtml needed? Advantages of using xhtml rather than html
How old is html?
Explain the advantages and disadvantages of html?
What are meta tags in html?
Explain formmethod attribute of html5?
What is get and post methods in html?
What are the restrictions of Web Worker thread?
What are the deprecated Elements in HTML5 from HTML4?
What is ruby tag in html5?
How fontsize and font size is differ in dhtml?
What is nav in html?
How to you set the background image of the page using HTML?
What is dynamic website with example?