optgroup - HTML元素
来源:百度文库 编辑:神马文学网 时间:2024/04/20 21:57:13
定义
允许作者对 select 元素中的选项进行逻辑分组。
Allows authors to group choices logically in a select element.
注释
在 HTML 4.0 中,所有的 OPTGROUP 元素必须在 SELECT 元素中直接指定。组不允许嵌套。
你只能在与 OPTGROUP 位于同一窗口的 SELECT 元素中添加 OPTGROUP。
此元素在 Internet Explorer 6 及以上版本的 HTML 中可用。
此元素是块元素。
此元素需要关闭标签。
In HTML 4.0 , all OPTGROUP elements must be specified directly within a SELECT element. Groups may not be nested.
You can add OPTGROUP elements only to a SELECT element located in the same window where the OPTGROUP elements are created.
This element is available in HTML as of Internet Explorer 6.
This element is a block element.
This element requires a closing tag.
元素示例代码
允许作者对 select 元素中的选项进行逻辑分组。
Allows authors to group choices logically in a select element.
注释
在 HTML 4.0 中,所有的 OPTGROUP 元素必须在 SELECT 元素中直接指定。组不允许嵌套。
你只能在与 OPTGROUP 位于同一窗口的 SELECT 元素中添加 OPTGROUP。
此元素在 Internet Explorer 6 及以上版本的 HTML 中可用。
此元素是块元素。
此元素需要关闭标签。
In HTML 4.0 , all OPTGROUP elements must be specified directly within a SELECT element. Groups may not be nested.
You can add OPTGROUP elements only to a SELECT element located in the same window where the OPTGROUP elements are created.
This element is available in HTML as of Internet Explorer 6.
This element is a block element.
This element requires a closing tag.
元素示例代码
optgroup - HTML元素
html HTML元素
HTML元素参考手册
a--HTML元素
acronym--HTML元素
address--HTML元素
applet--HTML元素
area--HTML元素
b HTML元素
base HTML元素
basefont HTML元素
bgsound HTML元素
big HTML元素
blockquote HTML元素
body HTML元素
br HTML元素
button HTML元素
center HTML元素
cite HTML元素
code HTML元素
col HTML元素
comment HTML元素
dd HTML元素
del HTML元素