Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<head>
<title>NIST DOM HTML Test - OPTGROUP</title>
</head>
<body onload="parent.loadComplete()">
<form id="Form1" action="test.pl" method="post">
<p>
<select name="select2">
<optgroup label="Regular Employees">
<option>EMP0001</option>
<option>EMP0002</option>
<option>EMP0003A</option>
</optgroup>
<optgroup disabled="disabled" label="Temporary Employees">
<option>EMP0004</option>
<option>EMP0005</option>
</optgroup>
</select>
</p>
</form>
</body>
</html>