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 is html and why it is used for?
What is xpath in html?
Why xhtml is used?
How do I detect what browser is being used?
Can HTML 5 get the geographical position of a user?
Is there a way to get indexed better by the search engines?
How to create scrollable tables in HTML-DHTML? My doubt is "I want to create a table whose header will remain stationery when I scroll the table vertically, but at the same time when I scroll horizontally, the header should scorll sidewise along with the body."
Is <img> being replaced by <object> in XHTML2?
What is the difference between innertext and textcontent?
What is td and tr?
How can we club two or more rows or columns into a single row or column in an HTML table?
What is the use of Canvas element?