- 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.
- pcDuino開發實戰
- Linux設備驅動開發詳解:基于最新的Linux4.0內核
- 電腦組裝與系統安裝
- Learning OpenDaylight
- vSphere Virtual Machine Management
- Mastering KVM Virtualization
- Linux操作系統應用編程
- 計算機系統開發與優化實戰
- Linux就該這么學
- Kali Linux 2018:Windows Penetration Testing
- 完美應用RHEL 8
- RHCSARHCE 紅帽Linux認證學習指南(第7版)EX200 & EX300
- Windows Vista終極技巧金典
- Linux軟件管理平臺設計與實現
- OpenStack Essentials(Second Edition)