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

Why is my email link opening up a new tab in my browser instead of my default email application.

<p><strong>Email</strong><a href="mailto:coolvrexperience@gmail.com">coolvrexperience@gmail.com</a></p>

1 Answer

Joshua Ordehi
Joshua Ordehi
4,648 Points

Hey Joshua, Joshua here!

Your mailto link seems to work just fine for me, so it's possible that the browser or environment you're using to click it is not properly configured to send you to your email app. Someone on Stack Overflow had a similar question and the only answer there shares some resources that may help you: https://stackoverflow.com/questions/34413697/mailto-link-in-chrome-opens-new-tab

Thanks Joshua, I finally figured it out. Thanks for your time.