Version: Level 2
Compability: IE4+ N6
The visibility property is used to create dynamic displays. It determines whether an element is visible or invisible. By invisible, we mean that the element is fully transparent, but that the element still occupies a place on the page and other content may not fill that space. This property is not inherited.
The display property can be used to make an element invisible and also specifies that nothing can take up space in the layout.
p {visibility: hidden;}
br {visibility: visible;}<img src="/images/guru.gif" style="visibility: visible;">
<img src="/images/guru.gif" style="visibility: hidden;">
<img src="/images/guru.gif" style="visibility: visible;">Note that only the first and third Guru images are visible, and that the space where the second image should be, while reserved for the image, is empty.