# <mark>

Highlighted text with a background color, like a marker pen over a phrase.

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

```ham
<p>
    Your order ships <mark style="text-gray-900">tomorrow before noon</mark> by courier.
</p>
```

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

## Attributes

| Name | What it does | Default |
|---|---|---|
| `color` | Highlight background color | `yellow-300` |

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
