Latest web development tutorials

Introduction to HTML DOM

HTML DOM defines a standard for accessing and manipulating HTML documents.


You should have basic knowledge

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

  • HTML
  • CSS
  • JavaScript

If you need to study these subjects first, please visit our home page .


What is the DOM?

DOM is the W3C (World Wide Web Consortium) standards.

DOM defines access HTML and XML documents Standards:

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

W3C DOM standard is divided into three different parts:

  • Core DOM - standard model for any structured document
  • XML DOM - standard model for XML documents
  • HTML DOM - standard model for HTML documents

Editor's Note: DOM is the Document Object Model (Document Object Model) acronym.


What is XML DOM?

XML DOM defines the objects and properties of all XML elements, and access their methods.

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


What is the HTML DOM?

HTML DOM is:

  • HTML standard object model
  • HTML standard programming interfaces
  • W3C Standards

HTML DOM defines the objects and properties of all HTML elements, and access their methods.

In other words, HTML DOM is about how to acquire, modify, add, or delete the standard HTML elements.