- 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.
- 操作系統(tǒng)實(shí)用教程(Linux版)
- Mastering Distributed Tracing
- Arch Linux Environment Setup How-to
- 奔跑吧 Linux內(nèi)核(入門篇)
- Linux運(yùn)維最佳實(shí)踐
- Application Development in iOS 7
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- Hadoop Real-World Solutions Cookbook
- Docker容器技術(shù)與應(yīng)用
- Hadoop Operations and Cluster Management Cookbook
- Getting Started with Raspberry Pi Zero
- UNIX傳奇:歷史與回憶
- Administering ArcGIS for Server
- 計(jì)算機(jī)系統(tǒng)平臺
- PrimeFaces Beginner's Guide