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

why does my email address in HTML not generate an email automatically

<h2>Contact</h2>
           <p><strong>Email:</strong> <a href="mail to:coolvrexperience@gmail.com">coolvrexperience@gmail.com</a></p>

6 Answers

The only issue I can see is there is a space between 'mail' and 'to' it should be 'mailto'. also the mailto is only supported on cretin versions of Firefox Chrome and Opera. If you are using IE, edge, safari, or Android, it won't work. Hope that helps.

Steven Parker
Steven Parker
243,228 Points

It looks like a moderator was nice enough to turn your comment into an answer. Now we can upvote it.

There should be no space between "mail" and "to".

Thank you all - I will give this a try

Miriam

I removed the space and it still did not work - when I click on the link - I receive an error message "file not found".
I am using Version 61.0.3163.100 Chrome - could this be the issue?

Steven Parker
Steven Parker
243,228 Points

After making "mailto:" one word, you might need to reconfigure the mail client in your system.

If this is a Windows system, here is an article on setting it, with some user comments at the end about potential other issues.

Steven,

Thanks for the response - I am on a mac system, not Windows though

Steven Parker
Steven Parker
243,228 Points

You might need another technique, but that error could still mean you need to reconfigure the mail client.