DEV Community

moogoo
moogoo

Posted on

1

Note abont JavaScript DOM objects

DOM Element structure

+-------------+    +------+    +---------+    +-------------+
| EventTarget | <- | Node | <- | Element | <- | HTMLElement |
+-------------+    +------+    +---------+    +-------------+
Enter fullscreen mode Exit fullscreen mode

The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.

every kind of DOM node is represented by an interface based on Node

Element - Web APIs | MDN

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay