+ 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
8 Respuestas
+ 2
I don't think it's possible, but you could try using W3Schools. It teaches everything about coding.
+ 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>
+ 1
I dont think its possible without using Css aswell
+ 1
thanks AKC for the suggestion but I m still looking to know more from others also thanks AKC anyway
+ 1
thanks robolox but it doesnt have solution of this
+ 1
but I found how to do it only using html
+ 1
see here is the answer
+ 1
but thanks for your suggestion