# <span>

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

Category: Text. Also written `<inline>`.

```ham
<p>
    Your plan renews on
    <span style="font-bold">1 December</span>
    for
    <span style="font-bold text-teal-600">$9.99</span>.
</p>
```

How Hype Apps draws it on a phone: [light](https://hypeapps.dev/img/tags/span-light.webp), [dark](https://hypeapps.dev/img/tags/span-dark.webp).

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.

## Related tags

- [`<p>`](https://hypeapps.dev/docs/reference/p.md): A paragraph: text and inline elements that flow onto as many lines as they need.
- [`<a>`](https://hypeapps.dev/docs/reference/a.md): A link: opens a web address, or a tel:, mailto: or sms: link in the phone's own app.
- [`<abbr>`](https://hypeapps.dev/docs/reference/abbr.md): An abbreviation with a dotted underline; its title shows as a tooltip on hover or long press.
- [`<b>`](https://hypeapps.dev/docs/reference/b.md): Bold text inside a paragraph, as HTML's b and strong.
- [`<blockquote>`](https://hypeapps.dev/docs/reference/blockquote.md): A quoted passage with an accent bar on the left, set apart from the text around it.
- [`<br>`](https://hypeapps.dev/docs/reference/br.md): A line break between pieces of text.
- [`<code>`](https://hypeapps.dev/docs/reference/code.md): Inline code in a monospace font on a gray background, flowing with the text around it.
- [`<dd>`](https://hypeapps.dev/docs/reference/dd.md): A definition in a definition list, indented under its term.

All tags: https://hypeapps.dev/docs/reference.md · The full reference: https://hypeapps.dev/llms.txt
