下拉框和组合框有什么区别? [英] Is there any difference between drop down box and combo box?

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

问题描述

下拉框和组合框[HTML]之间有什么区别吗?

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


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

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> 元素完全匹配:


当激活时,它显示(下拉)一个值列表,用户可以从中选择一个值。

When activated, it displays (drops down) a list of values, from which the user may select one.

所以你的老板是对的。

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

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