CSS Basics Web development basics

display:none -CSS property to hide elements

display:none-display:none property can be used to hide any specific element. This property seems to be same as visibility:hidden but, unlike visibility:hidden, display:none does not occupy space in a web page.

this is visible element

This is element with display:none

Note: the element set to display:none does not take up space on a web page.

display:none- Try it yourself