select标签中的选项分组

html

2011-10-05 22:14

<select name="showtimes">

 <optgroup label="下午一点">
<option value="titanic" selected="selected">泰坦尼克号</option>
<option value="nd">贫民窟的百万富翁</option>
<option value="wab">怪物史瑞克</option>
</optgroup>

<optgroup label="下午两点">
<option value="bkrw">狮子王</option>
<option value="stf">全民超人</option>
</optgroup>

</select>

 

啊啊