1. Reference
  2. Text

<inline>

An inline text container: styles a run of words inside a line without breaking it.

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.

inline.ham
<p>
    Your plan renews on
    <inline style="font-bold">1 December</inline>
    for
    <inline style="font-bold text-teal-600">$9.99</inline>.
</p>
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.