Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
Website builder

CSS visibility

Also see the full, alphabetical list of CSS properties


The CSS visibility property is used to specify the visibility of elements. It can be used to hide and display text and other elements.

Syntax: visibility: <value>
Possible Values:
  • visible
  • hidden
  • collapse
  • inherit
Initial Value: inherit
Applies to: All elements
Inherited: No
Media: Visual
Example:
td.hide { visibility: hidden; }
Try it yourself!


Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!