<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>NIST DOM HTML Test - LEGEND</title> <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLLegendElement01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> <body onload="loadComplete()"> <form id="form1" action="./files/getData.pl" method="post"> <fieldset> <legend accesskey="b" align="top">Enter Password1:</legend> <input id="input1" type="password" name="Password1"/> </fieldset> </form> <fieldset> <legend accesskey="c" align="bottom">Enter Password2:</legend> <input id="input2" type="password" name="Password2"/> </fieldset> </body> </html>