visibility
English [ˌvɪzəˈbɪləti] American [ˌvɪzəˈbɪlɪti]
n. Visibility; visibility; visible distance; clarity
css visibility property syntax
Function: The visibility attribute specifies whether the element is visible. Tip: Even invisible elements take up space on the page. Use the "display" attribute to create invisible elements that do not take up page space.
Description: This attribute specifies whether to display the element box generated by an element. This means that the element still occupies its original space, but can be completely invisible. The value collapse is used in tables to remove columns or rows from the table layout.
Note: All major browsers support the visibility attribute. The "inherit" and "collapse" property values are not supported in any version of Internet Explorer (including IE8).
css visibility property example
<html> <head> <style type="text/css"> h1.visible {visibility:visible} h1.invisible {visibility:hidden} </style> </head> <body> <h1 class="visible">php中文网</h1> <h1 class="invisible">php中文网</h1> </body> </html>
Click the "Run instance" button to view the online instance