Introduction to Mallard

Tables

About

Tables in Mallard documents are created using similar syntax to HTML. You can create tables with frames, shading, and rules between rows and columns. You can also have cells that span several columns or rows in a table. A basic table, which is created without using any <table> attributes, will not have table borders, shading or rules that divide rows and columns.

Example

<table frame="all" rules="all">
  <tr>
    <td><p>One</p></td>
    <td><p>Two</p></td>
    <td><p>Three</p></td>
    <td><p>Four</p></td>
  </tr>
  <tr>
    <td rowspan="2"><p>Rows</p></td>
    <td><p>Two</p></td>
    <td colspan="2"><p>Columns</p></td>
  </tr>
  <tr>
    <td><p>Two</p></td>
    <td><p>Three</p></td>
    <td><p>Four</p></td>
  </tr> 
</table>

Learn more

Learn more about Mallard tables at http://projectmallard.org/1.0/mal_table.