Tips for working with tables <tbody> tags in HTML work _ Experience Exchange

Source: Internet
Author: User
When you make a page, you often have to show or hide some of the contents of a table according to different actions, hiding a row directly withtags, hiding multiple rows withIt is very convenient.








Form content
Multi-line content
Multi-line content

With JS to control the style display to show and hide, very convenient. I heard that this can also control the page load display order, CONTENT1 will be displayed than Content2, rather than wait for the table to be displayed together after loading, there is no experiment, in the tabular data will have a role.

Found during useCan not be nested use, there will be inexplicable problems,is used to define the body of a table, define a plurality of subjects do not say, the subject of another body really does not conform to the definition of it, like the following to use it seems correct, but in fact there is a mistake.














The prototype page will be used in order to achieve the interactive effect , the actual background programming is not necessary, as long as the output of the corresponding table according to the judgment of the line. The design of the table when the page is made
Form content
Multi-line content
Multi-line content
such as the previously infrequently used tags and the definition of CSS can achieve a lot of good results, standard and semantic, very powerful, read a related article, find the collection up.
  • Related Article

    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.