O'Reilly logo

Microsoft® HTML5 Step by Step by Faithe Wempen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hyperlinking to an E-Mail Address

Hyperlinks can point to anything, not just to Web pages. You can create e-mail hyperlinks, for example, that start the user’s default e-mail program, create a new message, and enter the recipient’s address. (You can also set it to fill in the message subject, if you like.)

E-mail hyperlinks are useful when you want to direct someone to send a message to a particular person. For example, it is common to include a link to e-mail a site’s webmaster. To create a hyperlink to an e-mail address, use the same href= attribute as you did previously, but instead of a Web address, type mailto: followed by the e-mail address, like this:

<a href="mailto:support@adatum.com">Contact Us</a>

Note

Not everyone who has Web access also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required