Can I place an image in a drop-down list <select>?
I tried the following code snippet
<select name="selection">
<option><img src="dbdesign.jpg" alt="NOIMAGE"/>list1</option>
<option><img src="dbdesign.jpg" alt="NOIMAGE"/>list2</option>
</select>
The output shows list1 and list2 but does not show NOIMAGE , which is an alternative to src image.
source
share