Possible code for making dropdowns

Asked By 0 points N/A Posted on -
qa-featured

I would like dropdowns to be closed when the page opens and also the icons should be offset from the text for expanding and clicking dropdowns. And the output of my project would be dropdown is displayed as open. Is it possible?

SHARE
Answered By 0 points N/A #105770

Possible code for making dropdowns

qa-featured

First you have not stated which language you will want to create the drop down menus in, because that will have narrowed the scope in which I will address or provide the code for you without relying on assumptions. But since you have not I will take it that you are using html to design the program and therefore I will provide you with the html code for drop down menus:

<select>
  <option value="first">first</option>
  <option value="second">second</option>
  <option value="third">third</option>
  <option value="fourth">fourth</option>
</select>

You can copy the code in an HTML editor like Dreamweaver and see the outcome, and then you can customize it to suit your program.

Regards
Thompson Locker

 

Login/Register to Answer

Related Questions