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.
Form content |
Multi-line content |
Multi-line content |
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
|
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.