Site hosted by Build your free website today!


to create an email link the mailto: attribute of the <a> tag is used
<a href="mailto:someone@$">email</a>
a subject can also be included using the ?subject attribute
<a href="mailto:someone@$ chocolate">email</a>

Click this link to learn more about mailto

simple mailto form

Add this simple mailto form to your webpage and allow user's to send their comments, just cut and paste the example html code below into your html document

freeware code is available here for a more complex form

: name
: email

here's the code

cut and paste this mailto form code to your own webpage please remember to change the email address to your own as well as the URL in the hidden input
<FORM METHOD=POST ACTION="mailto:someone@$" ENCTYPE="text/plain">
<INPUT TYPE="text" NAME="username"> : name <BR>
<INPUT TYPE="text" NAME="email"> : email <BR>
comments <BR>
<INPUT NAME="redirect" TYPE="hidden" VALUE="index.html">
<INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html">
<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear">
<!-- END OF FORM -->

« back to forms tutorial

html tutorial css tutorial javascript webmaster articles link exchange

html tutorial

make money
from your website