是否需要使用 thead、tbody 和 tfoot 标签? [英] Is it required to use thead, tbody and tfoot tags?
本文介绍了是否需要使用 thead、tbody 和 tfoot 标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我真的应该在每次使用 table
标签时使用 thead
、tbody
和 tfoot
标签吗?标准是否要求?
Should I really use thead
, tbody
and tfoot
tags every time that I use a table
tag? Is it required by the standard or not?
推荐答案
那些标签不是必需的.如果使用表格来表示数据,那么使用它们被认为是一种很好的形式,而这正是表格的用途.如果使用表格来布置内容,它们通常会被省略.
Those tags are not required. It is considered good form to use them if the table is used to represent data, which is what a table should be used for. If a table is used for laying out content they are typically omitted.
这篇关于是否需要使用 thead、tbody 和 tfoot 标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文