Saturday, May 16, 2009

Drop Down Menu


Definition and Usage.


The <select> tag is used to create a select list (drop-down list).

The <option> tags inside the select element define the available options in the list.



Examples.


<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>

Tips And Notes.


Tip: The select element is a form control and can be used in a form to collect user input.

No response to “Drop Down Menu”

Post a Comment