---
title: "What are the basic selectors in JQuery?"  
description: "What are the basic selectors in JQuery?"  
author: "Shrikant Mishra"  
published: 2019-09-04  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/33571/what-are-the-basic-selectors-in-jquery  
category: "jquery"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# What are the basic selectors in JQuery?

The ***jQuery Selector*** is a function which makes use of expressions to find out matching elements from a DOM based on the given criteria. Just we can say that the selectors are used to select one or more HTML elements using jQuery. When an element is selected then we can perform various operations on that selected element.

Following are the basic selectors in jQuery:

1. Element ID
2. CSS Name
3. Tag Name
4. DOM hierarchy

## Answers

### Answer by Shrikant Mishra

The ***jQuery Selector*** is a function which makes use of expressions to find out matching elements from a DOM based on the given criteria. Just we can say that the selectors are used to select one or more HTML elements using jQuery. When an element is selected then we can perform various operations on that selected element.

Following are the basic selectors in jQuery:

1. Element ID
2. CSS Name
3. Tag Name
4. DOM hierarchy


---

Original Source: https://www.mindstick.com/interview/33571/what-are-the-basic-selectors-in-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
