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

Andrew Poteau
Andrew Poteau
2,819 Points

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

Anna Brown
Anna Brown
6,353 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)?

Add followings line target=“_top” Inside <a>