About Lesson
HTML DOM parentNode Property: The parent node property is a read-only property that returns us the name of the parent node of the selected node as a node object. The Node object represents a single node in the document tree and a node can be an element node, text node, or more.
Syntax:
node.parentNode