Favorites

JavaScript DOM Reference

The Document Object Model (DOM) is the interface the browser gives JavaScript for working with a web page. It represents the document as a tree of objects, and lets you find elements, change their content and attributes, create new ones and respond to user actions.

The DOM is made of interfaces, such as Document, Element and Event, each with its own properties and methods. Interfaces inherit from each other: an element has everything from Element, Node and EventTarget. Each interface page lists its members.

At the time of writing, there are 135 DOM interfaces, methods and properties listed here.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee