Ask coding questions

← Back to all posts
Email link help
jsschoward6 (1)

I'm new to this. I can't get my email link to show up. I don't know what I did wrong. Suggestions?

Answered by vedprad1 (864) [earned 5 cycles]
View Answer
vedprad1 (864)

Simple. You didn't write the closing anchor tag (</a>), and the text that shows up goes between the tags.

There is also another problem. The quotation marks don't just go around the subject. They have to go around the entire thing, from mailto to the end of the tag.

The final product:

<a href="mailto:[email protected]?subject=Link Here, Link There">Send Email</a>

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!