Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Click the button get the node type of the owner document of this <p> element.
Try it