##### 33.3.2.1 Using browser-dependent HTML tags for tables

Some browsers might not support some HTML tags for tables, such as <colgroup>, <th>, <thead>, <tfoot>, and <tbody>. By default, DITA2Go does not use these tags when converting tables, because browsers that do not support them might crash, or might not show the tables.

You can specify settings in the [Tables] section to direct DITA2Go to use these HTML table tags. Table 33-2 shows the settings available. These settings apply to all tables in your document. To override a setting for one or more tables, see §33.3.2.6 Overriding row and column group settings.

Table 33-2 Browser-dependent HTML tags for tables

[Tables] setting | Default value | Purpose
UseTbHeaderCode | No | Use <th> for header cells; default is to use <td> for all cells
ColGroupElements | No | List <colgroup> elements before first table row; enables scope="colgroup", each ColGroup head starts a new <colgroup>
HeadFootBodyTags | No | Wrap table rows in <thead>, <tfoot>, and <tbody> groups; enables scope="rowgroup", each RowGroup head starts a new <tbody>

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

Next Topic: 33.3.2.2 Designating table header cells

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

Sibling Topics:

33.3.2.2 Designating table header cells

33.3.2.3 Enumerating table column groups

33.3.2.4 Wrapping table row groups

33.3.2.5 Positioning table footer rows (deprecated)

33.3.2.6 Overriding row and column group settings

Table of Contents • Index