Form to email : Form TextField « Form « HTML / CSS






Form to email

<html>
<body>
<form action="MAILTO:someone@demo2s.com" method="post" enctype="text/plain">

<h3>This form sends an e-mail to Demo2s.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">

</form>
</body>
</html>



           
       








Related examples in the same category

1.Text Field Example
2.Multi-line Text Field Example
3.Form with action script and textfield
4.Form input field