importance: 4

---

# Where's the "document" in the hierarchy?

Which class does the `document` belong to?

What's its place in the DOM hierarchy?

Does it inherit from `Node` or `Element`, or maybe `HTMLElement`?
