optgroup 标签 -- 代表分组选择项的类别名(此类别名不能选择) 效果: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <BODY> 带分组的select <select id="WebDesign" name="WebDesign"> <optgroup label="客户端"> <option value="HTML">HTML</option> <option value="CSS">CSS</option> <option value="javascript">javascript</option> </optgroup> <optgroup label="服务器端"> <option value="PHP">PHP</option> <option value="ASP">ASP</option> <option value="JSP">JSP</option> </optgroup> <optgroup label="数据库"> <option value="Access">Access</option> <option value="MySQL">MySQL</option> <option value="SQLServer">SQLServer</option> </optgroup> </select> </BODY> </HTML>