---
title: "What are jQuery Class Selectors and ID selectors Explain them?"  
description: "What are jQuery Class Selectors and ID selectors Explain them?"  
author: "Anonymous User"  
published: 2011-10-17  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/1305/what-are-jquery-class-selectors-and-id-selectors-explain-them  
category: "jquery"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# What are jQuery Class Selectors and ID selectors Explain them?

jQuery selectors allows to easily identify set of page elements for performing user friendly or required operations .

**Class Selector (.) :\** A class selector is to identify class to search for. An element can have multiple classes. There is no restriction. Operations are applied based on the class that matches.

**ID Selector (#) :\** An element can be selected or indentified based on id. It Matches a single element with the given id attribute.

## Answers

### Answer by Anonymous User

jQuery selectors allows to easily identify set of page elements for performing user friendly or required operations .

**Class Selector (.) :\** A class selector is to identify class to search for. An element can have multiple classes. There is no restriction. Operations are applied based on the class that matches.

**ID Selector (#) :\** An element can be selected or indentified based on id. It Matches a single element with the given id attribute.


---

Original Source: https://www.mindstick.com/interview/1305/what-are-jquery-class-selectors-and-id-selectors-explain-them

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
