HTML Forms

space design




corner Tutorial 16. Forms corner
HTML Tutorial


Web Design

Results per page:

Match: any search words all search words

Page Contents

Input Fields



HTML Forms are used to obtain information from your web page visitor. If you look at a form you may think that they would be hard to produce, when they are quite simple.

Probably the harder part is transfering the data back to where it can be used. I therefore suggest that at your first attempt you produce a very simple form that collects 1 item of information, a persons name then have that name e-mailed to your e-mail address.

Usually the data inputed in a form is processed by a Common Gateway Interface Script (CGI Script). These scripts are usually written in Perl.

Not all Hosting Servers allow these scripts, or it may cost more money to use them. Questions to ask your host. For security reasons hosts like to have full control over scripts.

  • Do you have a Form to e-mail script or similar scripts that you can use.
  • Can you add your own scripts
  • Obtain the URL that points to the server directory that contains the scripts.


Input boxes

There are various types of input boxes that you can use:


Input Type Used for Sample
Text For data entry Name
Checkbox Select 1 or more items from a group
Hidden Not visible, but it's value is submitted
Image Select an Image
Number For entering a number  
Password For the input of a password, asterisks are displayed
Radio Only 1 item can be selected from a group.
Reset A button that clears the form
Submit A button that submits the form
TextArea A larger text box allowing multiple lines
Option List Select from a provided list





More to come shortly





spaceSearch this site for a word or phrase.
Place phrases inside "double quotes"


Previous Top of Page Next page




Leisure Time - book your holiday or flights with our UK sponsors

Book a Thomson holiday
Book Jet2  Flights
Jet2 Cheap flights
Book Monach Hotels, Holidays& Flights
Book a Monarch Holiday
Fly Thomas Cook flights

EasyJet Holidays
Book Monarch Flights
Monarch Flights


More Tutorials

Home page of a tutorial in programming in Smalltalk, a object-oriented programming language. This is an ideal tutorial for anybody learning Smalltalk and of particular interest to students on courses: M206 at the OU Open University, and course CSC517 at NCSU North Carolina State University

C programming tutorial
Home page of a tutorial in programming in C This is an ideal tutorial for anybody learning C programming language, and of particular interest to students on courses: T223 at the OU Open University.
Home page of

Leeds my home town



AireWeb Web Design
Leeds Web design

Copyright © John McGuinn 2001-03