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 |
Which is new element in html5?
What is the role of html?
What is the use of <span> tag?
What are the components of dhtml?
Which browsers support dhtml?
What is a webpage title?
How we can make an image draggable?
Define forms in html.
What is the use of <fieldset> tag in html?
What is a hyperlink? Does it only apply to text?
What is tagname in html?
What are new media elements in html5?