Need help with HTML forms type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need help with HTML forms type

When creating a form which type value should I put if I want the user to select one option from a list? For eg, when we have a list of birth years and we need to choose one of them.

18th Dec 2017, 11:20 AM
Spacebound 💫
Spacebound 💫 - avatar
4 Answers
18th Dec 2017, 12:28 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 5
Use select and option tags
18th Dec 2017, 11:31 AM
Calviղ
Calviղ - avatar
+ 5
use it please ↓↓↓ <select> <option> 1 </option> <option> 2 </option> </select>
18th Dec 2017, 12:09 PM
James16
James16 - avatar
+ 2
Thank you all so much!
18th Dec 2017, 12:33 PM
Spacebound 💫
Spacebound 💫 - avatar