Check if node is a HTMLElement