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 - HEADING</title> 8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLHeadingElement05.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> 9 <body onload="loadComplete()"> 10 <h1 align="center">Head Element 1</h1> 11 <h2 align="left">Head Element 2</h2> 12 <h3 align="right">Head Element 3</h3> 13 <h4 align="right">Head Element 4</h4> 14 <h5 align="center">Head Element 5</h5> 15 <h6 align="left">Head Element 6</h6> 16 </body> 17 </html> 18 19