CSS Property Value How to - visibility: hidden;








Question

We would like to know how to visibility: hidden;.

Answer


<html>
<head>
<style>
p.invisible {<!--   ww w. java2 s.  co m-->
  visibility: hidden;
}
</style>
</head>

<body>
  <p>Here is a paragraph of text.</p>
  <p>Here is a paragraph of text.</p>
  <p class="invisible">This paragraph of text should be invisible.</p>
  <p>Here is a paragraph of text.</p>
</body>
</html>

The code above is rendered as follows: