DOM – Document Object Model

By manikandanmv

DOM(Document Object Model.) is a platform and language independent object model. It can be used by any programming language like JavaScript, VBscript. DOM defines a standard object model for accessing/representing documents like HTML or XML. This will allow scripts to dynamically access and update the content, style and structure of documents.

DOM has 3 different levels

  • Core DOM – standard model for structured document
  • XML DOM – standard object model for XML document.
  • HTML DOM – HTML document – defines object & properties of all HTML elements and methods to access them.

DOM represents its documents as a tree structure with elements, attributes and nodes. Also DOM supports navigations in any directions of the tree structure.

Tags: , , , , , , ,

Leave a Reply