If desired, type the text that will describe your menu.
Figure 17.27. We'll use CSS again to push the menu over in line with the other fields.
Type name="label", where label will identify the data collected from the menu when it is sent to the server.
If desired, type size="n", where n represents the height (in lines) of the menu.
If desired, type multiple="multiple" to allow your visitor to select more than one menu option (with Ctrl or Command). (The ="multiple" is optional in HTML.)
If desired, type selected="selected" if you want the option to be selected by default. (The ="selected" is optional in HTML.)
Type value="label", where label identifies the data that will be sent to the server if the option is selected.
If desired, type label="menu option", where menu option is the word that should appear in the menu.
Type the option name as you wish it to appear in the menu.
Repeat steps 713 for each option.
Figure 17.28. A visitor will not be able to select nothing in a menu unless you set the size attribute. The default selection is either the first option in the menu or the one you've set as selected in step 8.
Create a menu as described on page 266
Before the first option tag in the first group that you wish to place together in a submenu, type <optgroup.
Type label="submenutitle">, where submenutitle is the header for the submenu.
After the last option tag in the group, type </optgroup>.
Repeat steps 24 for each submenu.
Figure 17.30. Browsers generally don't create true submenus, but rather group the items in a single menu with subgroups.