Examples Using a SELECT Element


Single Selection Menu:

<SELECT NAME="singlemenu">
  <OPTION>Undergraduate
  <OPTION>Graduate
  <OPTION>Staff
  <OPTION SELECTED>Faculty
</SELECT>


Multiple Selection Menu:

Notice this selection menu uses VALUE attributes to simplify the name/value pairs that result from submitting this fill-out form.

<SELECT MULTIPLE SIZE=5 NAME="breakfast">
  <OPTION SELECTED VALUE="latte"> Caffe Latte
  <OPTION VALUE="oatmeal"> Oatmeal
  <OPTION VALUE="cream"> Cream of Wheat
  <OPTION VALUE="wheaties"> Wheaties and Milk
  <OPTION VALUE="charms"> Lucky Charms
  <OPTION VALUE="bunches"> Honey Bunches of Oats
  <OPTION VALUE="toast"> Toast and Jam
  <OPTION VALUE="juice"> Orange Juice
</SELECT>