javascript link to email onClick code example Example: on click goto mail <a class="mailto" href="mailto:[email protected]">Mail</a>