How to hide table in css

藏色散人
Release: 2023-01-03 09:31:45
Original
2714 people have browsed it

How to hide table in css: first use notepad to create an html page; then create a table; finally write a class style to hide the table "display:none".

How to hide table in css

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

Use notepad to create an html page

How to hide table in css

Create a table

How to hide table in css

In the browser Check the effect of the created table

How to hide table in css

Write a class style to hide the table display:none

How to hide table in css

Use a browser See the effect. [Recommended learning: css video tutorial]

How to hide table in css

This is all the code

<html>
<head>
<meta charset="UTF-8">
<title>css隐藏table</title>
<style>
.hide{display:none}
</style>
</head>
<body>
<table class="hide">
<tr>
<td>
这是要隐藏的table信息
</td>
</tr>
</table>
</body>
</html>
Copy after login

The above is the detailed content of How to hide table in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!