what is the use of select tag
Answers
Hi
<select> tag is used for making dropdown list, user can choose one or more options using it, we can add options is drodown list using <option> tag
syntax
<select>
<option>put any text here</option>
<option>put any text here</option>
<option>put any text here</option>
...
</select>
we can make it mutiselect using "multiple" attribute of <select> tag
syntax
<select multiple>
<option>put any text here</option>
<option>put any text here</option>
<option>put any text here</option>
...
</select>
HTML <select> tag is used to create drop down list of options, which appears when clicking on form element and allows the user to choose one of the options. The <option> tag is used to define the possible options to choose from. The tag is put into <select> tag.