Hide an element from view with CSS

CSSWeb DevelopmentFront End Technology

To hide an element from view, use the visibility property with the value hidden. You can try to run the following code to implement the visibility property − 

Example

<html>
   <head>
   </head>
   <body>
      <p>
         This paragraph should be visible.
      </p>
      <p style = "visibility:hidden;">
         This paragraph should not be visible.
      </p>
   </body>
</html>
raja
Published on 18-Apr-2018 10:17:06
Advertisements