Aegir Aideron Aegir Aideron - 4 months ago 21
CSS Question

How to make a working Submit button on HTML?

The question is how do i make the submit button work so if they press submit, the ff will be send to my email (ex: example@gmail.com).'
If PHP is needed please post the code so i just gonna paste it on my code :D ty

<div id="forms">
<form class="form">
<p class="name">
<input type="text" name="name" id="name" placeholder="Enter Your Name" />
</p>
<p class="email">
<input type="text" name="email" id="email" placeholder="mail@example.com" />
</p>
<p class="text">
<textarea name="text" placeholder="Describe your logo" /></textarea>
</p>
<p class="submit">
<input type="submit" value="Send" />
</p>
</form>
</div>


I cannot find the answer in the existing question of this, So i decided to make another one... the existing is like 2 years ago?

Answer Source

I think you just need to put a mailto action on the <form> tag, i.e.:

<form class="form" action="mailto:someone@example.com">