Introduction to Dom

Source: Internet
Author: User

The full name of Dom is Document Object Model, which is essentially a document platform. Dom is an interface specification promoted by the W3C Dom working group. It is an application independent of the XML data access, parsing, or updating mechanism. In layman's terms, Dom is a hierarchical model that allows developers to operate on XML documents. With a clear hierarchical model, you can obtain flexible data operations.

On a webpage, objects that comprise pages (or documents) are organized in a tree structure. Javascript treats every item in the document tree as an object, which can be manipulated using JavaScript. The standard model used to represent objects in a document is called Dom.

Each object in the tree is also called a node of the tree ). If a node contains an HTML tag, it is called an element node. Otherwise, it is called a text node. An element node can contain a text node.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.