Home >Web Front-end >CSS Tutorial >CSS visibility usage: hidden;

CSS visibility usage: hidden;

PHPz
PHPzforward
2023-08-29 16:13:02559browse

CSS 可见性的用法:隐藏;

Elements can be hidden using the visibility attribute with a value of hidden . You can try to implement the following code to achieve hiddenvalue

example

<html>
   <head>
   </head>
   <body>
      <p>This paragraph should be visible in normal way.</p>
      <p style = "visibility:hidden;">
         This paragraph should not be visible.
      </p>
   </body>
</html>

The above is the detailed content of CSS visibility usage: hidden;. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete