E-mail Links

A widespread type of hyperlinking is to create an email link within a page. Creating an email link requires prepending the “mailto:” to the desired email address.

HTML
<a href="mailto:user@example.com">User's E-mail</a>

So, to create a hyperlink that e-mails me:

Note Clicking on such a link in a webpage will cause the webpage to try and open the user’s default email application. For that reason, it is also good practice to write the full email address out. That way, a user can easily copy the browser’s address into the email client of their choice.


html elements email link