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 Going Further with HTML Link to Email

mailto function is not responding/working

The instructions was as follows for the mailto function on Teamtree house video:

<p><strong> Email:</strong><a href="mailto:talalhuss@gmail.com?subject=Hi%20there!">talalhuss@gmail.com</a></p>

What is wrong with my code? I have analyzed it so many times....

Jonas Westerholm
Jonas Westerholm
10,754 Points

The syntax seems valid and works fine for me. Can you ellaborate on exactly what the problem is?

4 Answers

Anna Hurtt
Anna Hurtt
6,741 Points

So I had the same issue. It does NOT work for me in Safari but works in Chrome. At least I know I typed it in correctly. Maybe they can address this issue in another video(if they haven't already)?

Andrew Poteau
Andrew Poteau
2,819 Points

Works for me too. Do you have a default email client installed on your machine?

Add followings line target=β€œ_top” Inside <a>