##### 35.2.2.4 Specifying a different HTML table-cell tag

You can use the following settings to alter the HTML tag for table cells containing the designated paragraph formats:

    [HtmlStyles]
    ; doc style (para or char) = keywords for functions and properties
    ; These alter properties or attributes of their table cell:
    ;  TableHead forces containing cell tag to th instead of td
    ;  TableBody forces containing cell tag to td instead of th
    CellHeadParaFormat=TableHead
    CellBodyParaFormat=TableBody

You might want to do this if some tables in your document have a structure different from that described by document-wide [Tables] settings. A more straightforward method is to use [TableAccess] settings to override the [Tables] settings for selected tables, and thus avoid dedicating a paragraph format to this purpose. See §33.3.3 Identifying table headers and footers.

Previous Topic: 35.2.2.3 Assigning values to WAI attributes

Next Topic: 35.2.2.5 Identifying table cells with formats: an example

Parent Topic: 35.2.2 Using paragraph formats for table-cell attributes

Sibling Topics:

35.2.2.1 Choosing how to use paragraph formats for WAI markup

35.2.2.2 Assigning WAI attributes to paragraph formats

35.2.2.3 Assigning values to WAI attributes

35.2.2.5 Identifying table cells with formats: an example