下拉列表项的分组
下拉列表项的分组。
1
<SELECT>
2
<OPTGROUP LABEL="碱性金属">
3
<OPTION>锂 (Li)</OPTION>
4
<OPTION>纳 (Na)</OPTION>
5
<OPTION>钾 (K)</OPTION>
6
</OPTGROUP>
7
<OPTGROUP LABEL="卤素">
8
<OPTION>氟 (F)</OPTION>
9
<OPTION>氯 (Cl)</OPTION>
10
<OPTION>溴 (Br)</OPTION>
11
</OPTGROUP>
12
</SELECT>
效果如下:
![](/Images/OutliningIndicators/None.gif)
2
![](/Images/OutliningIndicators/None.gif)
3
![](/Images/OutliningIndicators/None.gif)
4
![](/Images/OutliningIndicators/None.gif)
5
![](/Images/OutliningIndicators/None.gif)
6
![](/Images/OutliningIndicators/None.gif)
7
![](/Images/OutliningIndicators/None.gif)
8
![](/Images/OutliningIndicators/None.gif)
9
![](/Images/OutliningIndicators/None.gif)
10
![](/Images/OutliningIndicators/None.gif)
11
![](/Images/OutliningIndicators/None.gif)
12
![](/Images/OutliningIndicators/None.gif)