This is element x. It has
a B and an I and a span as its children.
Its second attribute is align="left"
var x; function init () { x = document.getElementById('test'); }
Test alert(document.getElementsByTagName('P').item(1).nodeName)
Test alert(x.attributes.item(1).nodeName)
Test alert(x.childNodes.item(1).nodeName)