forms - e-mail form    
intro
text
textarea
buttons
image
form
< e-mail form >
checkbox
radio
select
password
hidden
layout
cgi
tags
epilogue
      A popular application of html forms is the e-mail form. Below here you will find the complete code for such a form, with a working example.

The code

<FORM ACTION="mailto:[email protected]" METHOD="POST" ENCTYPE="text/plain">
Name<BR>
<INPUT TYPE="text" NAME="name" SIZE="40"><BR>
E-mail address<BR>
<INPUT TYPE="text" NAME="email" SIZE="40"><BR>
Subject<BR>
<INPUT TYPE="text" NAME="subject" SIZE="40"><BR>
Your message<BR>
<TEXTAREA NAME="text" COLS="40" ROWS="5"></TEXTAREA><BR>
<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Reset">
</FORM>

The resulting form

Name

E-mail address

Subject

Your message