How to create a drop down menu in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create a drop down menu in html

html css

7th Feb 2017, 1:48 AM
Boluwatife Akintola
Boluwatife Akintola - avatar
4 Answers
+ 4
I found this question just after I had it in mind.
18th Mar 2017, 3:16 AM
Ruth
Ruth - avatar
+ 3
For simple drop-down menu, you can avoid use of Javascript... Example of pure CSS implementation here: https://code.sololearn.com/WV5yAMqEKnO0/#css
7th Feb 2017, 6:42 PM
visph
visph - avatar
+ 1
<select> <option>black cat</option> <option>brown cat </option> <option>white cat </option> <option>grey cat </option> </select>
2nd Mar 2017, 2:20 PM
Vinay Joseph
Vinay Joseph - avatar
0
well since You Will need also Javascript, i would recommend You to use a framework like Bootstrap. With a framework like that You only need to write some HTML and add a class to it.
7th Feb 2017, 2:43 PM
Esteban Juarez Rodriguez
Esteban Juarez Rodriguez - avatar