The use of JavaScript in conjunction with DOM nodes

Source: Internet
Author: User

The Document Object model, or DOM, is theThe organization recommends standard programming interfaces for processing extensible flag languages. On a Web page, objects that organize pages (or documents) are organized in a tree structure that represents the standard model for objects in a document called the DOM. The history of Document Object model dates back to the late 1990 and MicrosoftNetscapeOf the "Browser wars", both sides in order toJavaScriptAndJScriptLife and death, so large-scale to give the browser a powerful function. Microsoft has added a number of proprietary things to Web technology, bothVBScript、ActiveX, and Microsoft's ownDHTMLFormat, so that many Web pages using non-Microsoft platform and browser does not display properly. Dom is the masterpiece of the time. The DOM is a set of web standards used to describe how a script interacts and accesses structured documents. The DOM defines a series of objects, methods, and properties that are used to access, manipulate, and create content, structure, style, and behavior in a document. Dom can be said to exist for the purpose of acquiring objects.The DOM is divided into different sections (core, XML, and HTML) and levels (DOM level 1/2/3):The Core DOM defines a standard set of objects for any structured document XML DOM defines a standard set of object HTML DOM for an XML document Defines a set of standard objects for HTML documents.nodeEach component in the dom,html document is a node. This is what the DOM provides:
    • The entire document is a document node
    • Each HTML tag is an element node
    • Text that is contained in an HTML element is a text node
    • Each HTML attribute is an attribute node
    • Comments belong to note nodes

The use of JavaScript in conjunction with DOM nodes

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.