HTML HTML Basics Going Further with HTML Link to Email

Arcel Derosena
seal-mask
.a{fill-rule:evenodd;}techdegree
Arcel Derosena
Front End Web Development Techdegree Student 2,294 Points

The subject Hi there is not showing up in the email, can someone tell me why ? Heres the code:

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

2 Answers

Ross King
Ross King
20,675 Points

Hi,

If you are using your code exactly the same as you provided above, there is a space between ? and subject. Removing this space fixed the issue.

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

If there wasn't any space (could just be Treehouse forum formatting). Can you let me know what email client you are using as some of them have different requirements e.g. Exchange for Lotus Notes.

Thanks.

Omar Jimenez
Omar Jimenez
1,446 Points

Do not forget to add the ? before subject.