### 27.3.5 Choosing a different row-group method

If you set HeadFootBodyTags=Yes, probably you will not want to use RowGroupIDs; use the scope method instead. For example, if you use paragraph format RowGroupHeading for row-group header text, you could specify:

[HTMLParaStyles]

RowGroupHeading=RowGroup Scope TableHead

[StyleCellScope]

RowGroupHeading=rowgroup

or, if the RowGroupHeading cells actually span the rows in the group:

[Tables]

ScopeRowGroup=Yes

either of which produces:

<tbody>

<tr><th scope=rowgroup>My Group Head</th><td></td> ... </tr>

<tr><td></td>... </tr>

...

</tbody>

This provides the association between “My Group Head” and all the cells in the <tbody> section at minimum cost in HTML coding and file size. Only if you cannot use HeadFootBodyTags, perhaps because your target browser does not support it, would you want to use RowGroupIDs for this purpose.

| 27.3.4 Column-group and row-group extent |  | 27.3.6 Using span attributes to identify rows and columns |