Introduction to HTML DOM
HTML DOM defines standards for accessing and manipulating HTML documents.
Basic knowledge you should have
Before you continue, you need to have a basic understanding of:
HTML
CSS
JavaScript
If you need to learn these projects first, please visit our front page.
What is DOM?
DOM is a W3C (World Wide Web Consortium) standard.
DOM defines a 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 the document. "
The W3C DOM standard is divided into 3 different parts:
- ##Core DOM - the standard model for any structured document.
- XML DOM - The standard model for XML documents
- HTML DOM - The standard model for HTML documents
Editor's Note: DOM is the abbreviation of Document Object Model.
What is XML DOM? The XML DOM defines the
objects and properties of all XML elements, as well as the methods to access 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
- HTML’s standard programming interface
- W3C Standard ##HTML DOM defines the
and properties of all HTML elements, as well as the ## methods to access them #method. In other words, HTML DOM is a standard for how to get, modify, add, or delete HTML elements.