<分区>
<分区>
Possible Duplicate:
Adding images with option tag
是否可以(而不是文本值)将图像存储在 html 表单的一部分内?
最佳答案
如果您所说的商店是指显示在下拉列表中的元素旁边,是的,可以进行一些调整。
像这样的东西怎么样?
http://www.marghoobsuleman.com/jquery-image-dropdown
http://www.queness.com/post/204/25-jquery-plugins-that-enhance-and-beautify-html-form-elements#9
您可能需要 jQuery。
关于html - 在 <option>(对于 <select>)html 表单中包含图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5904141/