html - 在XHTML中是否有一个名为 "rowgroup"的属性,如 "colgroup"?

标签 html xhtml

以下w3c文件提到 rowgroup

<!ENTITY % Scope "(row|col|rowgroup|colgroup)">

有这样的属性吗?

最佳答案

Table rows may be grouped into a table head, table foot, and one or more table body sections, using the THEAD, TFOOT and TBODY elements, respectively. This division enables user agents to support scrolling of table bodies independently of the table head and foot. When long tables are printed, the table head and foot information may be repeated on each page that contains table data.

The table head and table foot should contain information about the table's columns. The table body should contain rows of table data.

When present, each THEAD, TFOOT, and TBODY contains a row group. Each row group must contain at least one row, defined by the TR element.

来源:http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3

关于html - 在XHTML中是否有一个名为 "rowgroup"的属性,如 "colgroup"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2490584/

相关文章:

javascript - 如何获取元素的 id 并将其作为 CSS 属性应用?

python - Scrapy 提取空 td 值,尽管表中没有空值

html - display : block CSS propery,使用相关的疑惑我的例子不工作

html - 有必要在h1之后用h2吗

c# - 用 C# 编写的灵活语法荧光笔

javascript - 在不影响页面其余部分的页面上显示不正确的 html

javascript - 如何更改 Lit-Element 中的 bool 属性以隐藏组件上的内容?

javascript - ngSwitchCase 没有提供者

html - 如何删除表格下方的线

php - 无法将 <table> 标签放入 div 标签内