A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/how-to-create-mail-and-phone-link-in-html/ below:

How to Create Mail and Phone Link in HTML?

How to Create Mail and Phone Link in HTML?

Last Updated : 23 Jul, 2025

The HTML provides mailto and tel attributes to create the mail and phone links. We can use them in href to create the links. The href provides other sub-attributes that define the other properties of the mailto and phone link.

Creating a Mailto Link

A mailto link is an easy way for users to contact website owners or anyone else directly from a webpage. When a user clicks on the mailto link, it opens their default email client with a new mail addressed to the specified email address. You can also prefill the subject and body text to save users time.

Syntax

<a href="mailto:EMAIL?cc=ANOTHER_EMAIL&bcc=ANOTHER_EMAIL&subject=SUBJECT&body=Demo email" target="_blank">Text_to_Show</a> 
Where - HTML
<a href=
"mailto:feedback@geeksforgeeks.org?cc=feedback@xyz.com&bcc=contact@xyz.org&subject=Mail to GeeksForGeeks&body=Demo email" 
      target="_blank">
	Contact at GeeksForGeeks
</a>

Output

OUtput Creating a Phone Link

Similar to mailto links, you can also create call links using the HTML anchor tag. When a user clicks on the call link, it redirects them to their default call app with the phone number pre-filled, so they can make calls directly.

Syntax

<a href="tel:+91123-456-7890"> call US </a>
Where - HTML
<a href="tel:+91123-456-7890">
    Contact on call
</a> <br />

<a href="callto:+91123-456-7890">
    Contact on Skype
</a> <br />

<a href="SMS:+91123-456-7890">
    Send SMS
</a><br />

<a href="fax:+91123-456-7890">
    Send Fax
</a>

Output



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4