DEV Community

Lavender
Lavender

Posted on

XPath: Descendant selectors

Xpath CSS
//h1 h1
//div//p div p
//ul/li ul > li
//ul/li/a ul > li > a
//div/* div > *
/ :root
/html/body :root > body

Useful links

Top comments (0)