E-mail Links

A very common type of hyperlinking is to create an e-mail link within a page. This is accomplished by prepending “mailto:” to the desired e-mail address.

HTML
<a href="malto: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 e-mail application. For that reason, it is also good practice to write the full e-mail address out. That way a user can easily copy the address from the browser into the e-mail client of their choice.


html elements email link