This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Paragraphs
icon Aligning Text
Bold Text
Italic Text
Line Breaks
Comment
Links
Mailto



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson B: Messing with Your Text
Mailto


<a href="mailto:?"> creates a mailto

</a> closes a mailto

Not every link on the Web leads to another Web page. Often, pages include links that let people send email. This type of link is a "mailto," and is just as easy to build as a link to another page.

Remember how a regular link was made by sandwiching the linked words between the tags <a href="?"> and </a>? A mailto link is exactly the same, except you replace the "?" with "mailto:" and then insert an email address instead of a URL.

If your email address were monkeyboy@webmonkey.com, your HTML might read:

<a href="mailto:monkeyboy@webmonkey.com">

Send me mail!</a>

And on the page it would appear like this:

Send me mail!

Back

More Lessons