##### 33.3.2.4 Wrapping table row groups

To group table rows, the rows must be wrapped in elements that distinguish header, footer, and body rows, and that provide a way to group body rows. By default, DITA2Go wraps table rows in groups.

To prevent DITA2Go from wrapping table row groups:

    [Tables]
    ; HeadFootBodyTags = Yes (default, wrap table rows in <thead>,
    ; <tfoot>, and <tbody> groups, to enable scope="rowgroup") or No
    HeadFootBodyTags = No

Create header, footer, and body sections

When HeadFootBodyTags=Yes, DITA2Go wraps table rows with <thead>, <tbody>, and <tfoot> tags, as follows:

- All rows that are included in the table header are wrapped in <thead>...</thead>.
- All rows that are included in the table footer are wrapped in <tfoot>...</tfoot>.
- All remaining rows are wrapped in <tbody>...</tbody>.

This is intended primarily to support WAI interpretation using the WAI scope attribute; see §35. Identifying HTML table structure for WAI for more information. However, you can also use this setting also to add CSS class attributes.

Previous Topic: 33.3.2.3 Enumerating table column groups

Next Topic: 33.3.2.5 Positioning table footer rows (deprecated)

Parent Topic: 33.3.2 Identifying row and column groups and header cells

Sibling Topics:

33.3.2.1 Using browser-dependent HTML tags for tables

33.3.2.2 Designating table header cells

33.3.2.3 Enumerating table column groups

33.3.2.5 Positioning table footer rows (deprecated)

33.3.2.6 Overriding row and column group settings