DOM Specification Overview

The genesis of DOM is based on different APIs provided with the browsers such as Microsoft Internet Explorer or Netscape Navigator for accessing HTML documents in the sense that the DOM utilizes the idea of representing documents with an object model, which is accessible to applications through a standard API.

The DOM treats documents as hierarchical tree structures containing objects that represent the components of a document.

Note

A tree is a specially organized collection of objects usually referred to as Nodes. The structure of a tree is organized based on the following rules:

  • Every node must have one parent node and zero or more child nodes.

  • The very first node in the tree does not have a parent.

Later in this ...

Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.