24.4.5 Specifying attributes for table rows
You can specify attributes for the <tr> element with any of the following:
§24.6.5 Specifying row-group, row, and cell attributes with macros.
To specify row attributes based on the paragraph format of the content of cells in the row, you can use settings such as the following:
; RowAttribute inserts the contents of [StyleRowAttribute] into the
; start tag of the enclosing table row (ignored outside tables).
; doc style = attribute to insert in enclosing table row start tag,
; used in addition to other row attributes given under [Table...]
These settings would assign background color yellow to every row that contains a CellBody2 paragraph, in every table. To apply the settings only to some tables, you can turn these settings on and off around specific tables; see §33.2.9.1 Overriding paragraph and character format properties.
To base row attributes on the table format:
This setting assigns background color yellow to every row in every FormatA table. See §24.6.5 Specifying row-group, row, and cell attributes with macros.
You can use a macro for the assignment in [TableRowAttributes].
To assign an attribute to an individual row, place a marker of type RowAttr inside the cell, where Attr is the name of the attribute. The marker content is just the attribute value, without quotes. For example, to assign a class to an individual row, place a marker of type RowClass inside any cell in the row. See §29.2.4 Using attribute markers for HTML or XML.
> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.5 Specifying attributes for table rows