O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 51

HTML DOM

The Document Object Model (DOM) describes how the elements are organized in a document. In an HTML page, DOM refers to the organization of various buttons, input fields, etc. inside the page document. The various buttons, input fields, etc. are called the elements of the document. The DOM is used to access and update the contents of the document. The aspects of the DOM (such as its ­‘Elements’) may be addressed and manipulated within the syntax of the programming language in use. The public interface of a DOM is specified in its Application Programming Interface (API).

The DOM is a W3C (World Wide Web consortium) standard for accessing documents such as HTML and XML. As per W3C,

“The W3C Document Object Model (DOM) is a platform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required