下拉框和组合框有什么区别吗? [英] Is there any difference between drop down box and combo box?
问题描述
下拉框和组合框 [HTML] 之间有什么区别吗?
其实重点是,每次我说:组合框有问题",我的前辈说:那不是一个下拉组合框", :)
从技术上讲,HTML 中没有组合框,因为 无法输入.请参阅关于组合框的维基百科文章(重点是我的):><块引用>
组合框是一种常用的图形用户界面小部件.它是下拉列表或列表框与单行文本框的组合,允许用户直接在控件中键入值或从现有选项列表中进行选择.>
虽然下拉列表的定义匹配HTML <SELECT>
元素的作用:
激活后,它会显示(下拉)一个值列表,用户可以从中选择一个.
所以你的前辈是对的.
Is there any difference between drop down box and combo box [ HTML ]?
Actually the point is, everytime i say something like: "there is some problem with the combo box", my senior says: "that's not a combo box that is a drop down", :)
Technically, there are no combo boxes in HTML, because the <SELECT>
can't be typed into. See the Wikipedia article on Combo Box (emphasis mine):
A combo box is a commonly-used graphical user interface widget. It is a combination of a drop-down list or list box and a single-line textbox, allowing the user to either type a value directly into the control or choose from the list of existing options.
While the definition of drop-down list matches exactly what the HTML <SELECT>
element does:
When activated, it displays (drops down) a list of values, from which the user may select one.
So your senior is right.
这篇关于下拉框和组合框有什么区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!