How can we use the <select> tag in HTML5 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we use the <select> tag in HTML5 ?

It'd be like this <select> "here what?" </select>

2nd Jun 2020, 7:36 AM
RaefAlaa
RaefAlaa - avatar
4 Answers
+ 7
<select> <optgroup> <option> Text </option> </optgroup> </select> <optgroup>is optional
2nd Jun 2020, 9:06 AM
Coder
Coder - avatar
+ 2
The select tag is used inside the form tag to create a drop down list. It is used like this, <form > <select name="abc" id="xyz"> <option value="any name">any name</option> </select> </form>
2nd Jun 2020, 7:46 AM
🔥VENAGE🔥
🔥VENAGE🔥 - avatar
+ 1
<select> <option value = "0">xyz</option> </select>
2nd Jun 2020, 7:41 AM
A͢J
A͢J - avatar
0
Thanks everybody that was really useful
3rd Jun 2020, 4:19 AM
RaefAlaa
RaefAlaa - avatar