<html>
<head>
<title> New Document </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
//加上 size 属性,combox就变成listbox了。
<select name="tableSelect" size="5" multiple="multiple“ id="tableSelect" style="width:100">
<option value="red">红色</option>
<option value="blue">蓝色</option>
<option value="green">绿色</option>
<option value="yellow">黄色</option>
<option value="yellow">黄色</option>
<option selected>白色</option>
</select>
<select name="country2" size="5"> //
<optgroup label="北美洲">
<option value="America">美国</option>
</optgroup>
<optgroup label="亚洲">
<option value="China" selected="selected">中国</option>
<option value="India">印度</option>
<option value="Russia">俄罗斯</option>
</optgroup>
</select>
<label for="blue">蓝色</label>
<input type="radio" id="blue" value="blue" name="color" />
<fieldset style="width:200px;"> //相当于MFC下的组合框。
<legend>选择颜色</legend>
<ul>
<li>蓝色<input type="radio" value="blue" name="color" /></li>
<li>红色<input type="radio" value="red" checked="checked" name="color" /></li>
<li>白色<input type="radio" value="white" name="color" /></li>
</ul>
</fieldset>
</body>
</html>