Link with Email and Phone

In HTML, you can create links to email addresses and phone numbers using the <a> tag with the mailto: and tel: attributes. These links allow users to directly send an email or call a phone number when clicked.

Creating an Email Link (mailto:)

The mailto: scheme opens the user's default email client with a predefined recipient.

<a href="mailto:someone@example.com">Send an Email</a>

Pre-Filled Subject and Body

You can pre-fill the subject, body, and even CC/BCC recipients.

<a href="mailto:someone@example.com?subject=Hello&body=How are you?">Send a Custom Email</a>

Adding CC and BCC

<a href="mailto:someone@example.com?cc=ccperson@example.com&bcc=bccperson@example.com&subject=Meeting">Email with CC & BCC</a>

Creating a Phone Call Link (tel:)

The tel: scheme allows users to directly call a phone number when clicked (works on mobile devices and some desktop apps).

Example:
<a href="tel:+1234567890">Call Us</a>

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz