Multiple / in Table Valid?

后端 未结 3 1055
[愿得一人]
[愿得一人] 2020-12-13 22:44

Imagine a list of lists similar to this:

var list = [
  { name: \'group1\', 
    items: [ 1, 2, 3, 4, 5 ]
  },
  { name: \'group2\', 
    items: [ 1, 2, 3, 4         


        
3条回答
  •  忘掉有多难
    2020-12-13 23:35

    There's at most one thead and one tfoot allowed, so you shouldn't create additional headers. After all the th in a thead gives a meaning to your columns, like "time of day", "temperature", "amount of cats currently on fire".

    If the entries in your list are related they should all be in the same table and you should provide a fitting header to display that relation.

    If the entries are actually unrelated you should provide a single table for every of those. You can still apply the same CSS on every table to get a nice result.

提交回复
热议问题