Web Shoppe
Home | Coding | HTML | Sample Form

Sample Form

Here is the HTML to a simple email form that you can copy and put on your page. The parts in bold are the parts you should edit to anything you want. It can be added to or subtracted from any way you wish.

<form method="post" enctype="text/plain" action="mailto:kali@xentrik.net">
Your Name:<br>
<input type="text" name="name" size="20"><br>
<br>

Your Email:<br>
<input type="text" name="email" size="20"><br>
<br>

Do you like this site?<br>
Yes <input type="radio" name="like this site" value="yes">
No <input type="radio" name="like this site" value="no"><br>
<br>

Comments:<br>
<textarea name="comments" wrap="physical" rows="4" cols="20"></textarea><br>
<br>

Favorite Color:<br>
Red <input type="checkbox" name="favorite color" value="red">
Blue <input type="checkbox" name="favorite color" value="blue">
Yellow <input type="checkbox" name="favorite color" value="yellow"><br>
<br>

Gender:<br>
<select name="gender" size="1">
<option selected>Select One
<option>Male
<option>Female
<option>Both
<option>Neither
</select><br>
<br>

<input type="submit" value="Send It!">
<input type="reset" value="Start Over">
</form>
And here is what it looks like:

Your Name:

Your Email:

Do you like this site?
Yes No

Comments:

Favorite Color:
Red Blue Yellow

Gender:

(Yep, you can try it out! It will be sent to a real email address, but one which empties itself every day.)
 

about this site
site map
forums
ask a question
link this site

html tutorials
css tutorials
php tutorials
javascript tutorials
htaccess tutorials

graphics design
graphics tutorials
website design
internet copyright

about domains
about web hosting
hosting tutorial
xentrik hosting
ftp tutorials

stats logger
search engines
code generators
button labeller
remote services

font archive
website layouts
website graphics
useful scripts