1. Reference
  2. Forms and input

<summary>

The header of a <details> panel: its text is the title you tap to open or close it.

Forms and input
summary.ham
<details open="true">
    <summary>What is your return policy?</summary>
    <p>Return any unworn item within 30 days for a full refund.</p>
</details>
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.