Example of DOM hierarchy in an HTML document
Sample form. The form is enclosed in an HTML table for visual layout.
WHATWG DOM
Registration form of PHP-based e-commerce web-shop software ZenCart

It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

- JavaScript

The history of the Document Object Model is intertwined with the history of the "browser wars" of the late 1990s between Netscape Navigator and Microsoft Internet Explorer, as well as with that of JavaScript and JScript, the first scripting languages to be widely implemented in the JavaScript engines of web browsers.

- Document Object Model

Form, link and image elements could be referenced with a hierarchical name that began with the root document object.

- Document Object Model

These tasks used to be handled with JavaScript, but had become so common that support for them was added to the standard.

- Form (HTML)

Using JavaScript on the Document Object Model (DOM) leads to the method of Dynamic HTML that allows dynamic creation and modification of a web page within the browser.

- Form (HTML)

Validating input values of a web form before the data is sent to a web server.

- JavaScript
Example of DOM hierarchy in an HTML document

1 related topic with Alpha

Overall

Dynamic web page: example of server-side scripting (PHP and MySQL).

Dynamic web page

0 links

Web page whose construction is controlled by an application server processing server-side scripts.

Web page whose construction is controlled by an application server processing server-side scripts.

Dynamic web page: example of server-side scripting (PHP and MySQL).
When a request to a dynamic web page or resource is made, the application server processes the request using its server-side language.

A client-side dynamic web page processes the web page using JavaScript running in the browser as it loads.

JavaScript can interact with the page via Document Object Model, or DOM, to query page state and modify it.

Using server-side scripting to change the supplied page source between pages, adjusting the sequence or reload of the web pages or web content supplied to the browser. Server responses may be determined by such conditions as data in a posted HTML form, parameters in the URL, the type of browser being used, the passage of time, or a database or server state.