Descendant
A descendant is a node or element reachable from another by following one or more downward links in a hierarchy or directed structure.
Causal Inference for Data Science
A descendant is a variable reachable from another variable by following one or more directed causal arrows.
- How it is used
- Uses downstream status to choose valid adjustment variables and avoid blocking causal effects or opening spurious paths.
- How deep it goes
- Defines descendants formally, illustrates them in DAGs, and traces their roles in confounding, collider bias, and causal-effect estimation.
- Examples
- Uses DAG nodes M, Z1, and Z2, plus drug treatment, recovery time, and return-to-work examples.
- What you can do after
- Diagnose adjustment risks by identifying downstream variables that could block effects, open collider paths, or induce selection bias.
Read how Causal Inference for Data Science explains descendant →
Web Design Playground, Second Edition
A descendant element is an HTML element contained within another element directly or through one or more intermediate elements in the document tree.
- How it is used
- Explains document-tree relationships needed to understand CSS contextual selectors and descendant targeting.
- How deep it goes
- Defines hierarchy terms, demonstrates inheritance, and applies the descendant combinator while deferring one-level targeting to the child combinator.
- Examples
- Uses a web-page tree, inherited styles in nested div content, and the div p selector for body paragraphs.
- What you can do after
- Apply CSS descendant selectors to style nested elements and distinguish broad descendant matches from immediate child matches.
Read how Web Design Playground, Second Edition explains descendant →
Also covered in
What to know first
- body elementThe HTML body element contains the content of a document intended for display in a browser.
- directed acyclic graphA directed acyclic graph is a graph whose edges have directions and contain no directed cycles.
- HTML elementAn HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.
Related concepts
- backdoor criterionused by · The backdoor criterion is a graphical condition for identifying a causal effect by requiring a variable set to block every backdoor path while excluding treatment descendants.
- confoundercontrasts with · A confounder is a variable associated with both an explanatory or treatment variable and an outcome, whose influence can distort their apparent relationship or estimated causal effect.
- focus-within pseudo-classused by · The focus-within pseudo-class matches an element when it or one of its descendants has focus.
- direct descendant combinatorcontrasts with · The CSS child combinator, written as >, matches elements that are direct children of a specified parent element.
- ancestorpart of · An ancestor is an entity higher in a hierarchical structure, reached by repeatedly following parent relationships toward the root.
Questions about descendant
What is descendant?
A descendant is a node or element reachable from another by following one or more downward links in a hierarchy or directed structure.
Which Manning books explain descendant?
Causal Inference for Data Science and Web Design Playground, Second Edition.
What should I know before learning descendant?
Manning books that teach descendant usually introduce body element, directed acyclic graph and HTML element first.
What is the difference between descendant and confounder?
A descendant is a node or element reachable from another by following one or more downward links in a hierarchy or directed structure. A confounder is a variable associated with both an explanatory or treatment variable and an outcome, whose influence can distort their apparent relationship or estimated causal effect.
What kinds of descendant are there?
Kinds of descendant include bad control.
What is descendant part of?
Descendant is part of ancestor. An ancestor is an entity higher in a hierarchical structure, reached by repeatedly following parent relationships toward the root.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

