none & hidden | Sololearn: Learn to code for FREE!


none & hidden

what's the difference between none and hidden?

8/26/2016 9:12:11 PM

sina massoumian

5 Answers

New Answer


there's a huge difference bro. {display:none;} totally removes the contents while { visibility:hidden;} hides the contents but does not eradicate the space it was suppose to it just makes it invincible.


None means empty.. And hidden means... Invisible... But the matter is behind it




as ufor even to do asfolrfsxprfit


Display property tells how elements should be placed and visibility tells either element should be shown or not. Setting {display:none} removes elements and setting{visibility: hidden} hides elements but it isn't removed(it is still there).So, element with {display:none} doesn't cover space but element with {visibility:hidden} covers space.