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

Why do we need html5?

826


What is empty tag and container tag?

812


What is the difference between canvas and svg?

906


Explain formtarget attribute of html5?

852


What is tr td th in html?

846


Can you use SVG tags directly in HTML5 without any plugin?

1327


How xhtml is better than html?

854


What is the use of a span tag? Give one example.

778


How to use html5 new tags in ie8 and lesser.

839


Is center deprecated?

835


What is aria label?

842


Does a hyperlink only apply to text?

909


How will you align a table to the right or left?

840


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

826


What is the use of hidden field in html?

843