This is the question asked in most of the interviews of Selenium:
DOM:
The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents. Objects in the DOM tree may be addressed and manipulated by using methods on the objects.Ex: var element=document.getElementById("intro");