Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

querySelectorAll example

// Obtain a NodeList of all of the <p> elements in the document
const matches = document.querySelectorAll("p");
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #querySelectorAll
ADD COMMENT
Topic
Name
7+5 =