htmlcss

The visibility property is used in CSS and certain HTML elements. It is used to hide an element but leaves space where it would have been. It is also used to hide rows or columns of a table. It also collapses XUL elements.


Values


HTML example:

<h1 style="visibility:hidden;">
1st heading content.
</h1>


CSS example:

h1 {
    visibility:hidden;
}