+ 1
Drop-down list!
how do i make the drop down list? (like the one on sololearn top-right corner) is it js or html?
6 Antworten
+ 4
Thanks @David
+ 3
Are you referring to a drop down list like the one used for Sort by: Votes or Date?
If so, you would use the HTML <select> and <option> tags.
Example:
<select>
<option value="Votes">Votes</option>
<option value="Date">Date</option>
</select>
+ 2
@Nomeh Ah... I was responding to this question from the browser on my laptop. Now I see what he was referring to with "top-right corner". Nicely done!
+ 1
oh cool thats it, thanks!! :) @David @Nomeh
+ 1
<select>
<option>abcd</option>
<option>efgh</option>
</select>
OR
<datalist>
<option>abcd</option>
<option>efgh</option>
</datalist>