Table row

A simple table row is a single row in a simple table.

Syntax

The syntax for representing this component varies depending on the authoring format:

Authoring format Syntax and example
XDITA

<strow>

<strow>
  <stentry><p>Gohan rice</p></stentry>
  <stentry><p>140 gm</p></stentry>
  <stentry><p>14 kg</p></stentry>
</strow>
HDITA

<tr>

<tr>
  <td><p>Gohan rice</p></td>
  <td><p>140 gm</p></td>
  <td><p>14 kg</p></td>
</tr>
MDITA
| Ingredient       | Amount   | Unit shipped |
| ---------------- | -------- | ------------ |
| Gohan rice       | 140 gm   | 14 kg        |
| Soya paper sheet | 1 pc     | 10 pc        |

Table:  Fancy roll ingredients

Attributes

The available attributes vary based on the authoring format:

XDITA and HDITA
The following attributes are available on this element: ID attributes, localization attributes, universal attributes, and @props.
MDITA
There is no attribute support for the MDITA core profile. For the MDITA extended profile, attributes can be specified by using the HDITA representation.

Examples

See Figure 1, Figure 2, and Figure 3.