It would be difficult to find anyone who works online that hasn’t interacted with the HTML mailto link. When you click on it, this link activates the default email client on a user's computer to send an email. It is used inside an anchor tag with a href attribute. In this article, we will discuss: 

Mailto links are used to redirect the user to an email address instead of a link. When the user clicks on a mailto link, the default email client opens on the user’s computer and suggests sending an email to the address included in the mailto link.

AI-Powered Full Stack Developer ProgramExplore Program
Want a Top Software Development Job? Start Here!

You can create an HTML mailto link by using an anchor tag with the href attribute and inserting the “mailto” parameter after it.

html-mailto

The code will generate the following link:

Send Email

Clicking on the link above will open a new mail window:

output-html-mailto

If you want to send an email to more than one address, separate your email address with a comma.

secondmail

AI-Powered Full Stack Developer ProgramExplore Program
Want a Top Software Development Job? Start Here!

Mailto Parameters

The mailto attribute accepts seven parameters, as described below: 

  • mailto: This parameter specifies the email address of the recipient.
  • cc: This parameter is used to add another email address that will receive the mail's carbon copy. It is optional.
  • bcc: This parameter specifies another email that will receive the blind carbon copy of the mail. It is optional.
  • subject: This parameter is used to fill the subject of the mail. It is optional.
  • body: This parameter is used to fill the content of the mail. It is optional.
  • ?: This parameter is the first parameter delimiter. It is optional.
  • @: This holds the other parameter delimiter. It is optional.

html-mailto-parameter

html-mailto-parameters.

With Our Trending AI Accelerator ProgramEnroll Now
Go From Prompts to Agentic Workflows

Conclusion

You may be wondering how you can obtain the skills necessary to take advantage of HTML’s immense popularity, and how you can go beyond just learning about the HTML mailto attribute. Simplilearn's AI-Powered Full Stack Developer Course helps you expand beyond HTML by learning CSS, JavaScript, React, Node.js, databases, APIs, deployment, and AI-assisted development through hands-on projects.

As AI becomes part of everyday software engineering, the next step is learning how developers build AI-powered applications and intelligent workflows. Simplilearn's AI Accelerator Program helps you create AI applications, intelligent agents, and automated workflows through live, hands-on learning while building a portfolio of 10+ real-world AI projects.

Our Software Development Program Duration and Fees

Software Development programs typically range from a few weeks to several months, with fees varying based on program and institution.

Program NameDurationFees
Full Stack Development Program with Generative AI

Cohort Starts: 16 Sep, 2026

20 weeks$4,000