+ 1

How to make a dropdown by only using tags of html ?

if we use HTML only and also exclude select and option tags from them then how to make a dropdown button which will show list on click

31st Dec 2016, 2:52 PM
bhaumik shukla
bhaumik shukla - avatar
8 ответов
+ 2
I don't think it's possible, but you could try using W3Schools. It teaches everything about coding.
31st Dec 2016, 3:43 PM
Cherry
Cherry - avatar
+ 2
<html> <body> <div> <button onclick="openMenu()" class="btn">Games</button> <div id="dropdown" class="hidden"> <a>Assassins creed 1 </a> <a>Assassins creed 2 </a> <a>Assassins creed 3 </a> </div> </div> </body> </html>
31st Dec 2016, 5:12 PM
bhaumik shukla
bhaumik shukla - avatar
+ 1
I dont think its possible without using Css aswell
31st Dec 2016, 3:08 PM
Andreas K
Andreas K - avatar
+ 1
thanks AKC for the suggestion but I m still looking to know more from others also thanks AKC anyway
31st Dec 2016, 3:11 PM
bhaumik shukla
bhaumik shukla - avatar
+ 1
thanks robolox but it doesnt have solution of this
31st Dec 2016, 5:11 PM
bhaumik shukla
bhaumik shukla - avatar
+ 1
but I found how to do it only using html
31st Dec 2016, 5:11 PM
bhaumik shukla
bhaumik shukla - avatar
+ 1
see here is the answer
31st Dec 2016, 5:12 PM
bhaumik shukla
bhaumik shukla - avatar
+ 1
but thanks for your suggestion
31st Dec 2016, 5:12 PM
bhaumik shukla
bhaumik shukla - avatar