colspan 和 rowspan 何时可以在 HTML 表格中使用?

发布于 2024-10-05 09:55:54 字数 177 浏览 1 评论 0原文

我和一位同事很好奇 colspanrowspan 何时可以在 HTML 表格中使用。

我们尝试了谷歌和维基百科,但答案似乎仍然困扰着我们。

我认为这可能是从 HTML 2 开始,或者 90 年代初到中期,但他坚持说直到 2000 年或更晚......

A co-worker and I are curious about when colspan and rowspan became available for usage in HTML tables.

We tried Google and Wikipedia, but the answer still seems to elude us.

I thought it might have been since HTML 2, or early-to-mid-90s, but he insists it wasn't until 2000 or later....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

暮凉 2024-10-12 09:55:54

RFC 1942 在 96 年 5 月引入了表,该 RFC 包含行跨度,因此这是最早实现它们的官方文档。

https://www.rfc-editor.org/rfc/rfc1942

编辑 - 应该提到这是对 html 2.0 的改进

RFC 1942 introduced tables in May 96, the rfc includes rowspans so this is the earliest official document implementing them.

https://www.rfc-editor.org/rfc/rfc1942

Edit - Should mention that this is a refinement for html 2.0

心碎无痕… 2024-10-12 09:55:54

至少早在 1997 年的 HTML 4 规范版本中就提到了它们。 编辑 它们也是 HTML 3 中的;它们似乎和 本身一样存在。

They're mentioned in versions of the HTML 4 spec as far back as 1997 at least. edit They're also in HTML 3; they seem to have been around as long as <table> itself.

西瓜 2024-10-12 09:55:54

根据 this,它们在 < a href="http://www.w3.org/TR/REC-html32" rel="nofollow">HTML 3.2,日期为 1997 年 1 月 14 日。所以,很久以前了。

According to this, they are defined in HTML 3.2, which is dated 14 Jan 1997. So, a long way back.

不必你懂 2024-10-12 09:55:54

就 W3C 而言,它看起来像 HTML 3.2,所以是 1997 年 1 月。 3.2 规范,但我在 2.0 规范

如果您没有严格遵守 W3C,答案似乎是1996 年 5 月。请参阅 RFC 1942 第 2 页顶部的示例,其中添加了对表格的支持。

As far as W3C is concerned, it looks like HTML 3.2, so January 1997. Both attributes are mentioned in the 3.2 spec, but I don't see them anywhere in the 2.0 spec.

If you're not strictly following W3C, the answer seems to be May 1996. See the example at the top of page 2 of RFC 1942, which adds support for tables.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文