io7m
io7m-jstructural 2.1.0
5.25
table
5.25.1
Description
1
The table element allows the specification of tabular data.
5.25.2
Children
1
The following elements may occur as children of table elements:

- table-body
- table-head
- table-summary

5.25.3
CSS
1
table elements are assigned the following CSS classes in addition to any specified by the type attribute:

- st200_table

5.25.4
Example
1
The following text:

    <table>
      <table-summary>Summary</table-summary>
      <table-head>
        <table-column-name>First</table-column-name>
        <table-column-name>Second</table-column-name>
        <table-column-name>Third</table-column-name>
      </table-head>
      <table-body>
        <table-row>
          <table-cell>Cell 1</table-cell>
          <table-cell>Cell 2</table-cell>
          <table-cell>Cell 3</table-cell>
        </table-row>
        <table-row>
          <table-cell>Cell 1</table-cell>
          <table-cell>Cell 2</table-cell>
          <table-cell>Cell 3</table-cell>
        </table-row>
      </table-body>
    </table>

Produces the following output in the context of this document:

First | Second | Third
--- | --- | ---
Cell 1 | Cell 2 | Cell 3
Cell 1 | Cell 2 | Cell 3