1. Reference
  2. Text

<s>

Strikethrough text, for a removed item or an old price; <del> and <strike> are the same tag.

Text

This tag has more than one name. Every spelling is the same tag, so write whichever feels natural. Pick one and every example on this page uses it.

s.ham
<row style="gap-8 items-baseline">
    <s style="muted">$49.00</s>
    <text style="font-bold font-xl text-red-600">$29.00</text>
    <text style="muted text-sm">until Sunday</text>
</row>
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.