The querySelector method uses _______ selectors to select elements.

  • CSS
  • XPath
  • JSON
  • HTML
The querySelector method uses CSS selectors to select elements in the DOM. You can use CSS selector syntax to specify the elements you want to select, making it a powerful tool for finding and manipulating DOM elements based on their attributes and structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *