Detailed description of the html dom object model

Source: Internet
Author: User

Here we will briefly introduce the concept of html dom. DOM is the abbreviation of the Object Model in the DocumentObjectModel document. According to the W3CDOM specification, html dom is an interface unrelated to browsers, platforms, and languages, allowing you to access other standard components on the page.

Html dom object model

Html dom is the abbreviation of HTML Document Object Model (Document Object Model). html dom is a Document Object Model specifically applicable to HTML/XHTML. Software developers can understand html dom as a Web page API. It regards each element in the webpage as an object, so that the elements in the webpage can be obtained or edited by computer language. For example, Javascript can use html dom to dynamically modify webpages.

DOM is the abbreviation of the DocumentObjectModel Document Object Model. According to the W3CDOM specification, html dom is an interface unrelated to browsers, platforms, and languages, allowing you to access other standard components on the page. DOM solves the conflict between Netscape Javascript and Microsoft Jscript, and provides a standard method for web designers and developers, let them access the data, scripts, and representations on their sites.

Html dom is a collection of nodes or information fragments organized in hierarchies. This hierarchy allows developers to navigate the tree to find specific information. To analyze this structure, you usually need to load the entire document and construct a hierarchy before you can do any work. Because it is based on information layers, DOM is considered to be tree-based or object-based.

Related Article

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.