DOM element children

This DIV with id="testRoot" starts with an em and HAS EMPTY TEXT NODES.

and then comes a paragraph with id="testPar" which has a strong tag nested in it.

And after a comment comes this div.

And in this nested paragraph I remind you that there are empty text nodes between the elements.

Source Code

        alert('testRoot children length is: ' + document.getElementById('testRoot').children.length);