<?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 - HEADING</title> <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLHeadingElement04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> <body onload="loadComplete()"> <h1 align="center">Head Element 1</h1> <h2 align="left">Head Element 2</h2> <h3 align="right">Head Element 3</h3> <h4 align="right">Head Element 4</h4> <h5 align="center">Head Element 5</h5> <h6 align="left">Head Element 6</h6> </body> </html>