0
3.7kviews
Describe the role of the querySelector() and querySelectorAll() methods in CSS.

Subject: Advanced Internet Technology

Topic: Responsive web design with HTML5 and CSS3

Difficulty: High

1 Answer
0
3views

Intrroduction

  • The querySelector() and querySelectorAll() methods let you enter a CSS selector as a parameter and return the selected elements as DOM elements.
  • Part of the W3C Selectors API, the difference between the two methods is merely in the number of possible elements that they return- the very first matched …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.