1. Reference
  2. Display

<table>

A data table written in HTML: tr rows of td cells, with a row of th cells as the header.

Display
table.ham
<table>
    <tr>
        <th>Item</th>
        <th>Price</th>
    </tr>
    <tr>
        <td>Flat white</td>
        <td>$4.20</td>
    </tr>
    <tr>
        <td>Almond croissant</td>
        <td>$3.80</td>
    </tr>
</table>
The snippet drawn by Hype Apps on a phone, in light mode The snippet drawn by Hype Apps on a phone, in dark mode
This snippet as Hype Apps draws it on a phone. It follows this page's light or dark theme.

Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.

This page is also Markdown, and all of HAM is in llms.txt.