1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html 3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 "xhtml1-transitional.dtd"> 5 <html xmlns='http://www.w3.org/1999/xhtml'> 6 <head> 7 <title>NIST DOM HTML Test - LEGEND</title> 8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLLegendElement04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> 9 <body onload="loadComplete()"> 10 <form id="form1" action="./files/getData.pl" method="post"> 11 <fieldset> 12 <legend accesskey="b" align="top">Enter Password1:</legend> 13 <input id="input1" type="password" name="Password1"/> 14 </fieldset> 15 </form> 16 <fieldset> 17 <legend accesskey="c" align="bottom">Enter Password2:</legend> 18 <input id="input2" type="password" name="Password2"/> 19 </fieldset> 20 </body> 21 </html> 22 23 24