Select Lists

Sunday, November 22, 2009

A select list is a dropdown list with options. This allows the user to select one option from a list of pre-defined options.

The select list is created using the select in conjunction with the option tag.
<select>
<option value ="sydney">Sydney</option>
<option value ="melbourne">Melbourne</option>
<option value ="cromwell">Cromwell</option>
<option value ="queenstown">Queenstown</option>
</select>

This results in:

1 comments:

edi swarno said...

great info, thanks

 
 
 
 
Copyright © Mr.Adam
Using Mr.Adam Theme | Bloggerized by My.Blogs