<html>
<head>
<title>select element example</title>
</head>
<body>
<form>
<select name="select1">
<optgroup label="First Group">
<option>First item in first group </option>
<option>Second item in first group </option>
<option>Third item in first group </option>
</optgroup>
<optgroup label="Second Group">
<option>First item in second group </option>
<option>Second item in second group </option>
<option>Third item in second group </option>
</optgroup>
</select>
</form>
</body>
</html>
|