
HTML>HTML Links>Mailto Tag
The Mailto Tag
Although links are usually used to send people to other webpages, you may also use them to send an email to a specific address by using the mailto tag and a mail address. The mailto tag is used within the <a href=mailto:name@address> and </a> tag.
With the mailto tag you can provide visitors to your site with a way of contacting you
Example
Try it out for yourself!
Examine the HTML code below. Cut and paste (Ctrl c + Ctrl v) the following HTML code into the form window below and press the check it out button to see the resulting webpage.
<html>
<head><title>Mailto Links</title></head>
<body>
<h2>The Mailto Tag</h2>
<p>If you have any questions send me an
<a href="mailto:carolrainsford@netscape.net">email</a>
</body>
</html>Creating your own webpage
Follow these simple steps to create your own webpage and to view your created webpage in your browser.