Syntax | selector {visibility: value;}
|
---|---|
Usage | The visibility property is used to specify whether the element should be visible or hidden. If the element is hidden it will still occupy space in the layout. If it is desired that the element be hidden and also not occupy any space, then use the display property set to none instead of the visibility property. This property is specified by using a keyword according to the syntax shown above. |
Keywords |
|
Applies To | All elements |
Inherited | Yes |
Initial Value | visible |
The visibility property is set to hidden for the span tag. |