next up previous
Next: Textarea Up: Entering Data Previous: Assigning Initial Input Values

Select

Let's say you want to have your readers indicate which country they live in.

Well, you could try using a SELECT list. This will create a pop-up list from which any one option may be selected. The advantages are that you still have a list to choose from, but it takes up very little screen space until the user interacts with the list.

As you saw, you can change the current option by selecting the list and moving through it until you get the choice you want.

The <SELECT> tag is used to create the environment and each choice in the select list is defined using the <OPTION> tag

For Example:

   <P>
   What Continent are you from?
   <SELECT name="access">
   <OPTION> Europe
   <OPTION> America
   <OPTION> Australasia
   <OPTION> Asia
   <OPTION> Oops, Wrong planet!!
   </SELECT>
   </P>

which gives:

What Continent are you from?



Dave Marshall
9/28/2001