Usage of CSS visibility:visible;


The visibility property with value visible is used to make an element visible. You can try to implement the following code to implement the visible property − 

Example

<html>
   <head>
      <style>
         p {
            visibility: hidden;
         }
      </style>
   </head>
   <body>
      <p style = "visibility:visible;">
         This paragraph is visible.
      </p>
      <p>
         This paragraph won't be visible.
      </p>
   </body>
</html>

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 04-Mar-2020

76 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements