📜  HTML option标签

📅  最后修改于: 2020-11-04 00:48:50             🧑  作者: Mango

HTML

HTML

输出:

属性:

特定于标签的属性:

Attribute Value Description
disabled disabled If it is set then that option will be disabled.
label text It defines the name for the list item.
selected selected If it is set, then it will be selected by default in the list.
value text It specifies the data which is sent to the server.

全局属性:

HTML

事件属性:

HTML

支持的浏览器

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes