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 trialColin Lahsangah
1,088 Pointshow to you make a link to your email or gmail?
is there anyway i can make a link to my email?
1 Answer
Matthew Carson
8,994 PointsIn an anchor tag's href attribute you can use 'mailto:' followed by an email address. This will open an new message draft in the user's default email program.
<a href="mailto:colin@example.com">Send email to Colin</a>
Steven Parker
231,268 PointsSteven Parker
231,268 PointsBefore doing this on pages accessible to the general public, consider that bots scour the internet looking specifically for tags like this to collect addresses for sending spam to.
Colin Lahsangah
1,088 PointsColin Lahsangah
1,088 Pointsthank you for your time.