onclick mailto code example
Example 1: on click goto mail
<a class="mailto" href="mailto:[email protected]">Mail</a>
Example 2: onclick mailto inline
Use <div> as a button and trigger a mailto when it is clicked
<a class="mailto" href="mailto:[email protected]">Mail</a>
Use <div> as a button and trigger a mailto when it is clicked