From d490e42ffe823173477b841ec397105bd06cb336 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 17 Jun 2021 13:35:36 -0400 Subject: rid of $samples iframes --- files/zh-cn/web/html/element/optgroup/index.html | 37 +++--------------------- 1 file changed, 4 insertions(+), 33 deletions(-) (limited to 'files/zh-cn/web/html/element/optgroup') diff --git a/files/zh-cn/web/html/element/optgroup/index.html b/files/zh-cn/web/html/element/optgroup/index.html index 8ea407b546..c2fb23f845 100644 --- a/files/zh-cn/web/html/element/optgroup/index.html +++ b/files/zh-cn/web/html/element/optgroup/index.html @@ -61,7 +61,7 @@ translation_of: Web/HTML/Element/optgroup
选项组的名字,浏览器用以在用户界面中标记选项。使用这个元素时必须加上这个属性。
-

示例

+

示例

<select>
   <optgroup label="Group 1">
@@ -81,44 +81,15 @@ translation_of: Web/HTML/Element/optgroup
 
 

结果

-

+

{{EmbedLiveSample("Examples")}}

规范

- - - - - - - - - - - - - - - - - - - - - - - - - -
规范状态注释
{{SpecName('HTML WHATWG', 'the-button-element.html#the-optgroup-element', '<optgroup>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'forms.html#the-optgroup-element', '<optgroup>')}}{{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'interact/forms.html#h-17.6', '<optgroup>')}}{{Spec2('HTML4.01')}}
+

{{Specifications}}

浏览器兼容性

-

{{Compat("html.elements.optgroup")}}

- -
- -
+

{{Compat}}

另请参阅

-- cgit v1.2.3-54-g00ecf