Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

querySelectorAll

Description

The querySelectorAll of ParentNode for JS returns all elements of the node that match the selector(s).

Syntax

node.querySelectorAll(selectors)

Parameters

selectors

Patterns that match elements in a tree structure.

Examples

1 · syntax

2 · element

3 · class

4 · id element

5 · id class

6 · multiple

append

children

firstElementChild

lastElementChild

prepend

querySelector

replaceChildren

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu