previous | start | next

Form Elements

Data is collected in a form by the use of INPUT tags. Each INPUT tag has an associated TYPE attribute.

For example:

<INPUT TYPE="TEXT"
This INPUT type can take several further attributes, eg:
<INPUT TYPE="TEXT"  NAME="Name" MAXLENGTH="64" SIZE="20">
In a browser, this would be presented as a (scrollable) textbox, 20 characters wide (but able to accept 64 characters of input).
 
There are several other INPUT types:
 

 
Lecture 06: Applications #3.2: HTTP Copyright © 2003 P.Scott, La Trobe University Bendigo.



previous | start | next