How to make an email address clickable on a web page

by Ron Foreman on August 10, 2009

Here’s how to make your email address ‘clickable’ on a web page. Just add a ‘mailto:’ to the tag, like this:

<a href="mailto:you@youraddress.com">Email me</a>

(Note email address is made up, use your email address.)
————————
or to show your email address:

<a href="mailto:you@youraddress.com">you@youraddress.com</a>

————————
or to include a subject for the subject line of the email:

<a href="mailto:you@youraddress.com?subject=hello">you@youraddress.com</a>

Change the ‘hello’ to whatever subject line you wish.

Share and Enjoy:
  • Print
  • email
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Twitter
  • Reddit
  • Add to favorites
  • Faves
  • StumbleUpon

Previous post:

Next post: