下拉框和组合框之间有什么不同吗? [英] Is there any difference between drop down box and combo box?

查看:184
本文介绍了下拉框和组合框之间有什么不同吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下拉框和组合框之间有什么不同吗?

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", :)

推荐答案

从技术上讲, HTML中的组合框,因为不能输入< SELECT> 。请参阅 关于组合框的维基百科文章 (强调我的):

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):


组合框是一个常用的图形用户界面窗口小部件。 它是一个下拉列表或列表框和单行文本框的组合,允许用户直接键入值到控件中或从现有选项列表中进行选择。 p>

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.

虽然定义 下拉列表 与HTML < SELECT> 元素完全匹配:

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.

所以你的资深是对的。

这篇关于下拉框和组合框之间有什么不同吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆