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 How to Make a Website Adding Pages to a Website Build the Contact Page

David Dong
David Dong
5,593 Points

Email Link Does Not Work

<ul class="contact-info">
          <li class="mail"><a href="mailto:*************@gmail.com">*************@gmail.com</a></li>          
        </ul>

I've done exactly what Nick did, but when I clicked on the link, it didn't do anything. Any help?

PS: The '*'' aren't what I typed in my actual code. I just put them there instead of my real email.

6 Answers

rydavim
rydavim
18,814 Points

Do other email links work for you? If not, it's possible that you just don't have a mail client configured, or that for some reason it's not working. Does the support link on this page open up your mail client?

I don't see anything wrong with your code, assuming the actual email address is valid.

Steven Parker
Steven Parker
231,275 Points

Your code works fine for me.

:point_right: Perhaps you have not set a default mail handler for your system.

Usually, when you run your mail program, there will be an option to make it be the default mail handler.

See if your email pops up from this test email link.

David Dong
David Dong
5,593 Points

Thanks, both of you! None of the links worked. How, exactly do you set a default mail app?

David Dong
David Dong
5,593 Points

I tried setting it as google in my settings, but it didn't work. The Mail app does work, though.

Sardor Latipov
Sardor Latipov
5,609 Points

I do have the the problem. email link does not work. Please help! I have clicked on the test email link above, it did not work either.

rydavim
rydavim
18,814 Points

Try watching David Dong 's video linked above. If that doesn't work for you, or if you're not using Chrome, please let us know what browser and email provider you're using and we'll look for a solution.

Victor Emanuel Del Castillo
Victor Emanuel Del Castillo
2,309 Points

David Dong's video worked for me on chrome. I also found out that this document fixed it for firefox.