|
|
• Html Course |
|
| ||||||
| • CHECKBOX Field |
|
The INPUT TYPE of CHECKBOX will produce a small box to allow the user to select from a list of items. Multiple items can be selected with the CHECKBOX field. Here is the line of code for CHECKBOX INPUT: <INPUT TYPE="checkbox">
Next we must add an identifying NAME to this field. <INPUT TYPE="checkbox" NAME="descriptive text"> Let's take a look at what that will produce:
Next let's add a VALUE to our CHECKBOX.
Here is a example code with the VALUE added.
<INPUT TYPE="checkbox" NAME="descriptive text" VALUE="some text here"> So let's add a few CHECKBOX INPUTS to our code:
<FORM ACTION="mailto:whoever@nowhere.org" METHOD="POST" ENCTYPE="text/plain"> Here is what our form looks like now:
Note: My example forms in this course are
Try this form on a web page before you continue.
|
|
|
Draac.Com Is Hosted By ValueWeb
Register UK domain names at Domain Names UK
|
|
| Advertise
| Link To Us |
| Status/Updates | Privacy Statement |
| Copyright © 1999-2003 Draac.Com
© All Rights Reserved. |