HTML

Email-Friendly Mailto + Tel Links

admin by @admin ADMIN
1h ago
May 31, 2026
Public
0 0 up · 0 down Sign in to vote
`mailto:` and `tel:` URI schemes open the user's email client or phone dialer directly. Support subject, body, cc, bcc as query params — and pre-format phone numbers for international.
HTML
Raw
<!-- Basic -->
<a href="mailto:hello@example.com">Email us</a>

<!-- With subject and body (URL-encode special chars) -->
<a href="mailto:hello@example.com?subject=Pricing%20question&body=Hi%2C%20I%27d%20like%20to%20know%20about...">
    Ask about pricing
</a>

<!-- CC and BCC -->
<a href="mailto:hello@example.com?cc=team@example.com&bcc=archive@example.com&subject=Hello">
    Email the team
</a>

<!-- Telephone — always use international format with country code -->
<a href="tel:+15125550199">
    +1 (512) 555-0199
</a>

<!-- SMS -->
<a href="sms:+15125550199?body=Sign%20me%20up">
    Text us
</a>

<!-- Always show the address as visible text too — not everyone clicks the link.
     Don't pre-fill subject/body with anything important you can't trust;
     users will edit it before sending. -->
Tags

Save your own code snippets

Create a free account and build your private vault. Share publicly whenever you want.