[html] How do I code my submit button go to an email address

my send an email button isn't working "Here's my html. Does anyone see a problem?

<input type="submit" value="SUBMIT EMAIL TO: [email protected]" <a href="mailto:[email protected]">

This question is related to html

The answer is


There are several ways to do an email from HTML. Typically you see people doing a mailto like so:

<a href="mailto:[email protected]">Click to email</a>

But if you are doing it from a button you may want to look into a javascript solution.