Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Introduction

HTML DOM Introduction


The HTML DOM defines the standard for accessing and manipulating HTML documents.


The Basic Knowledge You Should Have

Before you continue, you should have a basic understanding of the following:

If you need to learn these topics first, please visit ourHome.


What is the DOM?

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

The DOM defines the standard 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 different parts:

Note: DOM is the abbreviation of Document Object Model.


What is the XML DOM?

The XML DOM defines all XML elements'objectandpropertyand the means to access themMethod.

If you need to learn XML DOM, please visit our XML DOM Tutorial.


What is the HTML DOM?

The HTML DOM is:

The HTML DOM defines all HTML elements'objectandpropertyand the means to access themMethod.

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