Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Basics Structuring Your Content Semantic HTML: <header>, <footer> and <section>

How would I like an e-mail address so that it opens up a desktop client?

How would I like an e-mail address so that it opens up a desktop client?

For example:... <p> Contact us at <a href = "??">bill@gmail.com</a></p>

Thanks!

2 Answers

Martin Planeta
Martin Planeta
22,941 Points

Hi Ross,

to open up a desktop client after someone clicked the link, you hav to add "mailto:<emailaddress>" to your href attribute. Like this:

<p> Contact us at <a href = "mailto:bill@gmail.com">bill@gmail.com</a></p>

Hi Ross,

The code be as follows:

<p>Contact us at<a href ="mailto:bill@gmail.com">bill@gmail.com</a></p>