Home>Article>Web Front-end> How to hide html table rows
Methods to hide table rows: 1. Use the hidden attribute in the tr tag, with the syntax "
"; 2. Use the style attribute in the tr tag and add "display: none" style, syntax "".The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
How to hide table rows in html
Method 1: Use the hidden attribute in the tr tag
商品 价格 T恤 ¥100 牛仔褂 ¥250 牛仔库 ¥150 Rendering:
Method 2: Use the style attribute in the tr tag and add the "display: none;" style
商品 价格 T恤 ¥100 牛仔库 ¥150 Rendering:
Recommended tutorials:html video tutorial,css video tutorial
The above is the detailed content of How to hide html table rows. For more information, please follow other related articles on the PHP Chinese website!