Exploring DOM using Javascript

The Document Object Model (DOM) is a tree-based API for XML. It’s main focus isn’t just to parse XMLcode, but rather to represent that  using a series of interlinked objects that can be modified and  accessed directly.

DOM is a language-independent API, meaning that it is not tied  to  Java, JavaScript, or any other language in examples I’ll  use javascript to access and manipulate  it.

Continue reading