1. Home
  2. Computing & Technology
  3. Web Design / HTML

Link a Website to an Email Address in HTML

with Don Schechter

Want to enable your site users to contact you easily? Learn to add a link from your website to an email address.

Transcript: Link a Website to an Email Address in HTML

Hi, I'm Don Schechter for About.com Computing. Today I'll show you how to add a link from your website to an email address so viewers can contact you.

Add the Email Link Tag

First, open your html document of the page where you want the link to go. Type an a tag, then href=mailto:(semicolon)don@about.com the text you want on your page, I'll type Email Don (close brackets and close the a tag if you haven t done so already).

a href= mailto:don@about.com Email Don /a

Add a CC, BCC, and Email Subjects

You can also add a cc, bcc or subject to emails customers send you. To do this type the address as you did already, but follow it with a question mark then type cc=anotheremailaddress or bcc=emailaddress or for a subject type subject=subject text. If you want more than one of these elements, like a cc and a subject, simply type an ampersand between them.

I want to add a cc and a subject. My link looks like this.

When I click on the link my mail program opens with the email addresses all ready to go. Thanks for watching. To learn more, visit computing.about.com.

FREE Newsletters

Want to Make Videos? Tell Us!

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.