Can we have multiple in same ?
前端 未结 8 1661
攒了一身酷
攒了一身酷 2020-11-22 05:57

Can we have multiple

tags in same
? If yes then in what scenarios should we use multiple tags
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 06:39

    Martin Joiner's problem is caused by a misunderstanding of the

tag.

The

tag defines a table caption.

The

tag must be the first child of the tag.

You can specify only one caption per table.

Also, note that the scope attribute should be placed on a

element.

The proper way to write a multi-header multi-tbody table would be something like this :

element and not on a
This is the only correct place to put a caption.
First Half of Table (British Dinner)
1 Fish
2 Chips
3 Peas
4 Gravy
Second Half of Table (Italian Dinner)
5 Pizza
6 Salad
7 Oil
8 Bread

提交回复
热议问题