加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

XHTML thead,tfoot和tbody重要性

发布时间:2020-12-14 18:51:04 所属栏目:资源 来源:网络整理
导读:X HTML对于使用 thead tfoot有“意见”和 tbody? 有没有应该使用的情况? 谢谢. 解决方法 The thead,tbody,and tfoot elements in HTML are used to group table rows into logical sections based on their content. There are two main reasons you’d wa
X HTML对于使用< thead>< tfoot>有“意见”和< tbody>?

有没有应该使用的情况?

谢谢.

解决方法

The thead,tbody,and tfoot elements
in HTML are used to group table rows
into logical sections based on their
content. There are two main reasons
you’d want to do this:

  • To allow the body to be scrolled independently of the header and/or
    footer
  • To make it easier to apply different style rules to the
    different sections of the table.

如这里所述What is benefit of <thead>

如果您正在使用表进行布局,那么不要使用这些.如果您正在显示表格数据,然后使用它.

如果你没有任何东西放在tfoot,那么不要添加.

你也会在这里找到一些很好的答案What is benefit of <thead>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读