Home > Article > Web Front-end > What does javascript's dom mean?
dom is the abbreviation of Document Object Model, which means document object model, and dom is a specification developed to allow js to operate html elements. The root of dom is the document object, which has many attributes and Methods such as create node, copy node, remove node, etc.
The operating environment of this article: windows7 system, javascript version 1.8.5, DELL G3 computer
What does the dom of javascript mean?
js, JavaScript, is a web scripting language that can achieve some dynamic effects on web pages.
DOM is the abbreviation of Document Object Model, which means Document Object Model. It is a model that can be easily operated with javascript code. Specifically, the DOM model treats each HTML document as composed of many Objects form a tree structure, and the root of the tree is the document object.
Simply put, DOM is an HTML document structure. In fact, it is a specification developed to allow js to operate html elements. The root of DOM is the document object. The object has many attributes and methods, such as creating nodes, Copy nodes, remove nodes, modify attributes, etc.
Recommended study: "javascript basic tutorial"
The above is the detailed content of What does javascript's dom mean?. For more information, please follow other related articles on the PHP Chinese website!