- Selenium WebDriver Quick Start Guide
- Pinakin Chaubal
- 215字
- 2021-06-24 18:26:28
What is the DOM?
The DOM is an application programming interface that is linked to HTML, XHTML, or XML documents and treats these similar to a tree where each node in the tree represents a part of the document.
In simple words, the DOM can be compared to a tree where there is a root node, intermediate nodes, and leaf nodes.
Shown here is a sample DOM:

In the preceding diagram, there are three leaf nodes, two intermediate nodes, and one root node. All of this is contained in a document. The question that arises next is: how do we get to a particular node in this tree structure? This is where terms such as XPath and CSS come into picture.
XPath stands for XML Path and is a querying language to query the nodes in a DOM.
CSS stands for Cascading Style Sheets and is a style sheet language used for describing the look and format of a document written in any markup language.
- Mastering vRealize Operations Manager(Second Edition)
- PLC控制程序精編108例
- Puppet實(shí)戰(zhàn)
- Google系統(tǒng)架構(gòu)解密:構(gòu)建安全可靠的系統(tǒng)
- WordPress Mobile Web Development:Beginner's Guide
- 曝光:Linux企業(yè)運(yùn)維實(shí)戰(zhàn)
- 嵌入式Linux系統(tǒng)開發(fā):基于Yocto Project
- 開源安全運(yùn)維平臺(tái)OSSIM疑難解析:入門篇
- 混沌工程:復(fù)雜系統(tǒng)韌性實(shí)現(xiàn)之道
- Windows 8實(shí)戰(zhàn)從入門到精通(超值版)
- Windows 7使用詳解(修訂版)
- 15分鐘!畫出我的漫畫角色:賣萌篇
- 程序員必讀經(jīng)典(算法基礎(chǔ)+計(jì)算機(jī)系統(tǒng))
- 鴻蒙HarmonyOS應(yīng)用開發(fā)從入門到精通
- Apache ShardingSphere權(quán)威指南