Search code examples
htmlemailoutlookhref

How to include email link in html tag so that when user clicks it, their email program loads up


Lets say there is this link:

<a href="someemaillink@somedomain.com">someemaillink@somedomain.coml</a>

And when user clicks the link above, their email client pops open. How do i do that?


Solution

  • HTML has a syntax for this:

    <a href="mailto:joe@example.com?subject=feedback" "email me">email me</a>