<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>NIST DOM HTML Test - OPTGROUP</title> <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLOptGroupElement01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> <body onload="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>