Probing the DOM

Notes:
document.firstChild.nodeName
IE == #comment
Opera and FF == HTML
document.firstChild.nodeName
IE == [object]
Opera == [object NodeList]
FF == [object HTMLCollection]
See also JavaScript tutorial - DOM nodes and tree