Introduction to HTML DOM


HTML DOM defines standards for accessing and manipulating HTML documents.


The basics you should have

Before you continue your studies, you need to have a basic understanding of the following:

If you need to study these programs first, please visit our homepage .


What is DOM?

DOM is a W3C (World Wide Web Consortium) standard.

DOM defines standards for accessing HTML and XML documents:

"The W3C Document Object Model (DOM) is a platform and language neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document."

The W3C DOM standard is divided into 3 distinct parts:

  • Core DOM - the standard model for any structured document

  • XML DOM - Standard Model for XML Documents

  • HTML DOM - standard model for HTML documents

Note: DOM is short for Document Object Model.


What is XML DOM?

The XML DOM defines the objects and properties of all XML elements , as well as methods for accessing them .

If you need to learn XML DOM, visit our XML DOM tutorial .


What is HTML DOM?

HTML DOM is:

  • HTML's standard object model

  • Standard programming interface for HTML

  • W3C standard

The HTML DOM defines the objects and properties of all HTML elements , as well as methods to access them .

In other words, the HTML DOM is a standard on how to get, modify, add, or delete HTML elements.