How html hides td tags
This article mainly introduces "how html hides td tags". In daily operation, I believe many people have doubts about how html hides td tags. Xiaobian consulted all kinds of data and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how html hides td tags". Next, please follow the editor to study!
The way to hide the td tag: 1, set the hidden attribute to the td tag, syntax "; 2, use the style attribute to add" display:none "style to the td tag, syntax".
The operating environment of this tutorial: windows7 system, CSS3&&HTML5 version, Dell G3 computer.
There is a table like this:
Name, age, Peter 20 Lois 20
What do you do if you want to hide the td tag in html? Here's how to do it:
Method 1: set the hidden attribute to the td tag
Name, age, Peter 20 Lois 20
Method 2: use the style attribute to add a "display:none;" style to the td tag
Name and age Peter 20 Lois 20 so far, the study on "how html hides td tags" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!