Computer Science, asked by chinki123456789, 1 year ago

what is the use of select tag​

Answers

Answered by Anonymous
5

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>


chinki123456789: thank u so mich
chinki123456789: much
Anonymous: let me edit that
Anonymous: forgot to add syntax
chinki123456789: ok
Anonymous: done
Answered by sriti88
0

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.

Similar questions