Creating a pull-down menu

I am trying to create a pull-down menu for my Web page, and it is not working.

The syntax for creating a pull-down menu is as follows:

<FORM>Pull-down Menu: <SELECT NAME=name SIZE=1> <OPTION>No items <OPTION>Item 1 <OPTION>Item 2 <OPTION>Item 3 <OPTION>Item 4 </SELECT></FORM>
Pull-down Menu:

Where NAME will be the name of the value, SIZE will show how many items showvertically, and OPTION will be submitted as a value to your script. Thedefault behavior of this form component is to allow for only one item(OPTION) to be chosen at a time. “Select Boxes” can also allow the user toselect multiple items by simply adding: MULTIPLE like…

<SELECT MULTIPLE NAME=sample SIZE=2> . . . </SELECT>Note that you may want to enlarge the SIZE so that it’sobvious that one may choose more than one item. The problem with themultiple selection is that for each platform where the form is being viewed,you need to use a different key combination to select multiple items. Sofor multiple selections, if room permits, I recommend using a check-box.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: