Answer: To create a dropdown list box in HTML, write following code
<select name="drop1" id="drop1">
<option value="1">item 1</option>
<option value="2">item 2</option>
<option value="0">All</option>
</select>
This will create a dropdown with two list item "item 1" and "item 2".
Asked In: Many Interviews |
Alert Moderator