Advertisements
Advertisements
Question
Which of the following tag is used to define options in a drop-down selection list?
Options
<select>
<list>
<dropdown>
<option>
MCQ
Advertisements
Solution
<option>
Explanation:
The <select> and <option> tag pair is used to generate a drop-down selection list. Below is an example:
<form action="://gmail.com" method="get">
<select name="stream">
<option value="science">Science</option>
<option value="commerce">Commerce</option>
<option value="humanities">Humanities</option>
</select>
<input type="submit" value="Submit">
</form>
A selection drop-down list is specified by the <select> tag, while the different options that can be chosen from are specified by the <option> tag.
shaalaa.com
Is there an error in this question or solution?
