# <a>

A link: opens a web address, or a tel:, mailto: or sms: link in the phone's own app.

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

```ham
<column style="gap-12">
    <p>
        Read the <a href="https://hypeapps.dev/terms">terms of service</a> before you sign up.
    </p>
    <a href="tel:+15555550100">Call the front desk</a>
    <a href="https://hypeapps.dev/join"
       style="bg-teal-700 text-white px-16 py-8 rounded-full">Join the club</a>
</column>
```

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

## Attributes

| Name | What it does | Default |
|---|---|---|
| `href` | URL (http://, https://, file:/, or internal path) |  |

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

- [`<column>`](https://hypeapps.dev/docs/reference/column.md): Stacks its children top to bottom, with a gap between them and an alignment across.
- [`<p>`](https://hypeapps.dev/docs/reference/p.md): A paragraph: text and inline elements that flow onto as many lines as they need.
- [`<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
