Tips for using the table <tbody> tag in html work_Experience exchange

WBOY
Release: 2016-05-16 12:04:35
Original
2004 people have browsed it

When making pages, it is often necessary to display or hide part of the content in a table according to different operations. To hide a row, use the

tag directly. When hiding multiple rows, it is very convenient to use .








Form content

Using js to control the style display to show and hide is very convenient. I heard that this can also control the order of display when the web page is loaded. Content1 will be displayed before content2, instead of being displayed together after the table is loaded. I have not tested it, but it will be useful when there is a lot of table data.

During use, I found that cannot be nested, and inexplicable problems will occur. is used to define the body of the table. Not to mention defining multiple bodies, adding another body within the body is indeed inconsistent. W3C's definition of it seems correct when used like the following, but it is actually wrong.













When making prototype pages, is used in order to achieve interactive effects. , not needed in actual background programming, just output the corresponding table body based on judgment.
When designing the page, the table design uses
Form content
Multiple lines of content
Multiple lines of content
and other tags that were not commonly used before plus CSS definitions to achieve many good effects. It is standard, semantic, and very powerful. I read a related article and saved it.
Related labels:
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