42
Link to an E-mail Address
2 Before the text that you
want to have linked, type
<a href=”mailto:?”>,
replacing? with your
e-mail address.
1 Open the page onto which
you want to add the link.
Link to an E-mail Address
Y
ou will likely want your users to be able to contact you from your site, whether to order products,
get more information, or simply communicate. The easiest way to facilitate this contact is by
providing a link to your e-mail address. Once again, you use the anchor tag with an href attribute,
but this time, the attribute’s value begins with mailto:, followed by the address to which you
want the e-mail to be sent. When your user clicks the link, a new e-mail message is created in your
user’s e-mail program, with the address you specified filled into the To: field.