Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the new image elements in HTML5?

737


What happens if doctype is not specified?

766


What is xhtml? Why is xhtml needed? Advantages of using xhtml rather than html

785


How old is html?

771


Explain the advantages and disadvantages of html?

806


What are meta tags in html?

805


Explain formmethod attribute of html5?

772


What is get and post methods in html?

846


What are the restrictions of Web Worker thread?

880


What are the deprecated Elements in HTML5 from HTML4?

803


What is ruby tag in html5?

929


How fontsize and font size is differ in dhtml?

785


What is nav in html?

819


How to you set the background image of the page using HTML?

788


What is dynamic website with example?

763