1. Node.compareDocumentPosition()

    Compares the relative position of two nodes to each other in the DOM tree.

  2. View Transitions (cross-document)

    Provides a mechanism for easily creating animated transitions between different DOM states, while also updating the DOM contents in a single step. This API is specific to cross-document transitions.

  3. document.currentScript

    `document.currentScript` returns the `<script>` element whose script is currently being processed.

  4. document.evaluate & XPath

    Allow nodes in an XML/HTML document to be traversed using XPath expressions.

  5. Document.execCommand()

    Allows running commands to manipulate the contents of an editable region in a document switched to designMode

  6. Document Policy

    A mechanism that allows developers to set certain rules and policies for a given site. The rules can change default browser behaviour, block certain features or set limits on resource usage. Document Policy is useful both for security and performance, and is similar to [Permissions Policy](/permissions-policy).

  7. document.scrollingElement

    `document.scrollingElement` refers to the element that scrolls the document.

  8. document.head

    Convenience property for accessing the `<head>` element

  9. Document Object Model Range

    A contiguous range of content in a Document, DocumentFragment or Attr

  10. document.elementFromPoint()

    Given coordinates for a point relative to the viewport, returns the element that a click event would be dispatched at if the user were to click the point (in other words, the element that hit-testing would find).

  11. document api

  12. documentfragment api

  13. documenttimeline api

  14. documenttype api

  15. documenttype api: name

  16. document api: all

  17. document api: anchors

  18. document api: append

  19. document api: applets

  20. document api: bgcolor

  21. document api: body

  22. document api: children

  23. document api: clear

  24. document api: close

  25. document api: cookie

  26. document api: dir

  27. document api: doctype

  28. document api: domain

  29. document api: embeds

  30. document api: evaluate

  31. document api: fgcolor

  32. document api: fonts

  33. document api: forms

  34. document api: hasfocus

  35. document api: head

  36. document api: hidden

  37. document api: images

  38. document api: links

  39. document api: open

  40. document api: plugins

  41. document api: prepend

  42. document api: scripts

  43. document api: title

  44. document api: url

  45. document api: write

  46. document api: writeln