1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>Test case for checking firstChild.nodeType of a document
</title>
5 <style type=
"text/css">
10 <p>There should be no RED on the page
</p>
11 <button id='button'
></button>
13 <script type=
"text/javascript">
14 if (document
.getElementById('button').type
!="submit") document
.write("<p style=\"background-color:red;\">Wrong default type of BUTTON element</p>");