- 1

How to use the <select > tag? Plzz i need examples and want to understand. I want to see codes and outputs

I don't know how to use

2nd Sep 2017, 5:45 PM
Narendra Joshi
Narendra Joshi - avatar
1 ответ
0
Think of the select tag as a drop down menu because that's essentially what it is. The <select> tag just creates the menu element but a menu is not a menu without options right? That's what the <option> tags are for and they go within the select tag. Example (HTML): <select> <option>Select a Sololearn crush...</option> <option>@Tashi N</option> <option>@Michelle</option> </select>
2nd Sep 2017, 5:53 PM
Ghauth Christians
Ghauth Christians - avatar