<a href="mailto:address">

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

When the href attribute of the A element is set as follows, users can open the email client by clicking that link.


<a href="mailto:info@example.com">send mail</a>

Attribute Value Explanation
href=" " mailto:Email address "mailto:" and the Email address

Example


<p><a href="mailto:info@example.com">Open the email client</a></p>

Output

Open the email client

(The email address is a dummy. Please do not send email to the dummy address.)