About

The DOM API is a specification that specifies all classes and function to manipulate the DOM tree.

Environment

The DOM API is present natively in browser and may be implemented via a library in other application/environment. See the dedicated page

Features

The following features are defined in the DOM specification: EventInit dictionary type

Interface

Method

  • item()
  • createDocument()
  • createHTMLDocument()
  • createElement()
  • createElementNS()
  • insertBefore()

Attribute

  • ownerDocument
  • childNodes
  • localName
  • parentNode
  • namespaceURI
  • tagName
  • textContent
  • target
  • isTrusted