That is such with tag name and attributes so then I can safely use for example hasAttribute
, tagName
and other similar methods.
(My question is for a method of positively asking for html element, not for example ruling out all possibilities like string, number, some kind of other object etc.)