Monday, July 3, 2017

Make a mailto href link!

W3 schools has this example of making a link that when clicked opens up your email client and preps it to send an email to someone@example.com with "Hello again" as the subject. Beautiful. It is funny I didn't yet have an example of this at this blog. I guess I haven't made a vanity web site for someone since I started this blog in 2011.

<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">Send
      Mail</a>

No comments:

Post a Comment