HTML Select Fields
the html select fields also work like the html checkboxes fields ,in html select fields the user can select one ore more values from the options.In the Select fields we use the <select> tag.than the list values are added through the <option> tag and the list items are added through the<ol> tags.now see how it work
Example:(Drop Down List)
the html select fields also work like the html checkboxes fields ,in html select fields the user can select one ore more values from the options.In the Select fields we use the <select> tag.than the list values are added through the <option> tag and the list items are added through the<ol> tags.now see how it work
Example:(Drop Down List)
<select name="select Fields"> <option value="US" >United Stat -- US </option> <option value="UK" >United Kingdom -- UK</option> <option value="UAE" >United Arab Emirate -- UAE</option> </select>
Your Result:
by default ,select fields are commonly known as "drop down list".And this allow the user to choose the single value.this behaviour can be change now see here
Example:
<select size="3" name="select Fields" multiple="yes"> <option value="US" >United Stat -- US </option> <option value="UK" >United Kingdom -- UK</option> <option value="UAE" >United Arab Emirate -- UAE</option> </select>
Your Result:
No comments:
Post a Comment