Tips for using tags in html tables & lt; tbody & gt;

Source: Internet
Author: User
Most of the company's projects are based on the bsstructure. In the uidesign phase, various interactive effects should be implemented when a WEB prototype page is created. Different from the real background programming, JavaScript foreground programming is used, let programmers know what effects they want to achieve before programming. During page creation, you often need to display or hide some content in a table based on different operations.Label to hide multiple rowsIt is very convenient.








Form Content
Multi-line content
Multi-line content

It is convenient to use js to control the display style for display and hiding. I heard that this can also control the order in which the page is displayed during loading. content1 is displayed first than content2, instead of waiting for the table to be displayed after it is loaded. No experiments have been conducted, and this will play a role in the case of a large amount of table data.

Found during useIt cannot be nested and may cause inexplicable problems,It is used to define a table subject. If multiple subjects are defined, it is true that the next subject does not comply with W3C's definition. It seems correct to use it like the following, but there are actually errors.














The prototype page is used to achieve the interaction effect. In actual background programming, you only need to output the corresponding table body based on the judgment.Table Design During page creation
Form Content
Multi-line content
Multi-line content
When CSS is added to a tag that is not commonly used in the past, many good effects can be achieved. The standard and semantics are very powerful. I have read a related article and find it to favorites.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.