PseftiS PseftiS - 7 months ago 48
HTML Question

Add html img tag in option text

Is there any way to put img tag in the text of a html option?
For example i need something like this :

<option value="1"> Text1<img src="foto.png"> </option>
<option value="2"> Text2<img src="foto.png"> </option>


An option cannot have any children elements, including img.