定义允许作者对 select 元素中的选项进行逻辑分组<script type="text/javascript"></script> 。 Allows authors to group choices logically in a select element<script type="text/javascript"></script> . 注释在 HTML 4.0 中,所有的 OPTGROUP 元素必须在 SELECT 元素中直接指定。组不允许嵌套。 你只能在与 OPTGROUP 位于同一窗口的 SELECT 元素中添加 OPTGROUP<script type="text/javascript"></script> 。 此元素在 Internet Explorer 6 及以上版本的 HTML 中可用。 此元素是块元素。 此元素需要关闭标签。 In HTML 4.0 , all OPTGROUP elements must be specified directly within a SELECT element. Groups may not be nested. the same window where ! 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<script type="text/javascript"></script> as of Internet Explorer 6<script type="text/javascript"></script> . This element is a block element. This element requires a closing tag.