是否应该不惜一切代价避免在 HTML 中使用表格? [英] Should Tables be avoided in HTML at any cost?

查看:16
本文介绍了是否应该不惜一切代价避免在 HTML 中使用表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

建议在 HTML 页面中使用表格(现在我们有 CSS)?

It is advisable to use tables in HTML pages (now that we have CSS)?

表的应用有哪些?表格有哪些 CSS 没有的特性/能力?

What are the applications of tables? What features/abilities does tables have that are not in CSS?

  • 表格代替 DIV
  • DIV 与 TABLE

    推荐答案

    没有 - 完全没有.但是将表格用于表格数据.只是不要将它们用于一般布局.

    No - not at all. But use tables for tabular data. Just don't use them for general layouting.

    但是,如果您显示表格数据,例如结果甚至是表单,请继续使用表格!

    But if you display tabular data, like results or maybe even a form, go ahead and use tables!

    这篇关于是否应该不惜一切代价避免在 HTML 中使用表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆