N/APosted on - 11/26/2014
What is the relevance of the Document Object Model?
DOM or Document Object Model is a programming interface specification being built up by W3C or the World Wide Web Consortium. It allows a program to build and modify XML documents and HTML pages as complete program objects. At the moment, XML or Extensible Markup Language and HTML or Hypertext Markup Language are the only methods of expressing a document in terms of data structure.
As program objects, the data and contents of these documents will be hidden inside the object which helps in guaranteeing the control over who can manipulate the document. DOM provides 2 levels of interface implementation: DOM Core and DOM HTML. DOM Core is the base for the next level and supports XML.
DOM HTML expands the model to HTML documents.