An email link isn't really a link, although it looks like one, and it uses the anchor tag. However, instead of directing the browser to another page or named anchor, it opens a blank email window. Use email links on your site as a way for your visitors to contact you.
An email link looks something like this: <a href="mailto:name@emailaddress">Send me email</a> The anchor tag creates the link, just as with a normal hyperlink, and it uses the href attribute, too, but the value of this attribute isn't a path. Instead, it's a special signifier called a mailto for obvious reasons. The text that follows the mailto is the recipient's email address. So, if you want the email to go to your personal email account, supply mailto in the href attribute followed by a colon (:) and your complete email address.
If you're looking for an excuse to change the color of one hyperlink on your page without affecting the default colors (see Topic 62), an email link is a good candidate. Making this link a different color helps to set it off from the regular hyperlinks on the page, which reinforces the idea that the email link has a different function.
|