<link>
A link: opens a web address, or a tel:, mailto: or sms: link in the phone's own app.
Aliases
Reset to canonicalThis 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.
<column style="gap-12">
<p>
Read the <link href="https://hypeapps.dev/terms" >terms of service</link> before you sign up.
</p>
<link href="tel:+15555550100">Call the front desk</link>
<link href="https://hypeapps.dev/join"
style="bg-teal-700 text-white px-16 py-8 rounded-full">Join the club</link>
</column>
Attributes
| Name | What it does | Default |
|---|---|---|
href |
URL (http://, https://, file:/, or internal path) string |
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.