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 - TEXTAREA</title> 8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLTextAreaElement08.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 <p> 12 <textarea name="text1" cols="20" rows="7" accesskey="c" tabindex="5">TEXTAREA1</textarea> 13 <input type="submit" name="submit1" value="Submit1"/> 14 <input type="reset" name="reset1" value="Reset1"/> 15 </p> 16 </form> 17 <p> 18 <textarea name="text2" cols="50" rows="2" disabled="disabled">TEXTAREA2</textarea> 19 <input type="submit" name="submit2" value="Submit2"/> 20 <input type="reset" name="reset2" value="Reset2"/> 21 <textarea name="text2" cols="50" rows="2" readonly="readonly">TEXTAREA3</textarea> 22 <input type="submit" name="submit3" value="Submit3"/> 23 <input type="reset" name="reset3" value="Reset3"/> 24 </p> 25 </body> 26 </html> 27 28