Ask coding questions

← Back to all posts
I need help with my project
RubenUSA (0)

i need help making a drop-down menu or drop-down list i just need to know how to make any one of the list/menu.

Vandesm14 (2015)

You can use the vanilla HTML <select> element

RubenUSA (0)

@Vandesm14 thanks for the help i appreciate it if not to much to ask how do now make the drop-down list linkabl to a new page in HTML file ?.

mwilki7 (784)

@RubenUSA Try adding <a> to the existing code:

<option><a href="yourfile1.html">Link1</a></option>
<option><a href="yourfile2.html">Link2</a></option>
<option><a href="yourfile3.html">Link3</a></option>