Similar Collections


jQuery is a JavaScript library designed to simplify HTML DOM tree traversal and manipulation, as well as event handling, CSS animation, and Ajax. It is free, open-source software using the permissive MIT License.

jQuery MCQs: This section contains jQuery Multiple-Choice Questions with Answers. These jQuery MCQs are written for beginners as well as advanced, practice these MCQs to enhance and test the knowledge of jQuery.

questions

Title
jQuery is a ______

 jQuery is a ______.


  1. JavaScript Library
  2. JSON Library
  3. Java Library
  4. JSON and CSS Library
discuss
To work with jQuery, you should have the basic knowledge of these topics?

To work with jQuery, you should have the basic knowledge of these topics?


  1. HTML
  2. CSS
  3. JavaScript
  4. All of the above Answer: D) All of the above
discuss
Who developed jQuery?

Who developed jQuery?


  1. John Richard
  2. John Resig
  3. John Carter
  4. John Alexander
discuss
In which year jQuery was initial released?

 In which year jQuery was initial released?


  1. 2004
  2. 2005
  3. 2006
  4. 2007
discuss
Is jQuery case-sensitive?

 Is jQuery case-sensitive?


  1. Yes
  2. No
discuss
Which feature(s) jQuery contains?

 Which feature(s) jQuery contains?


  1. HTML/DOM manipulation
  2. CSS manipulation
  3. HTML event methods
  4. Effects and animations
  5. AJAX
  6. Utilities
  7. All of the above
discuss
Which sign is used to define/access jQuery?

 Which sign is used to define/access jQuery?


  1. $
  2. .
  3. &
  4. #
discuss
Which jQuery is used to hide the current element?

Which jQuery is used to hide the current element?


  1. $(this).hideelement()
  2. $(this).hide('true')
  3. $(this).hide(0)
  4. $(this).hide()
discuss
Which is the correct jQuery statement to hide all <div> elements?

Which is the correct jQuery statement to hide all <div> elements?


  1. $("div").hide()
  2. $(div).hide()
  3. $(div).hide()
  4. $("#div").hide()
discuss
Which is the correct jQuery statement to hide all elements having class name "new"?

 Which is the correct jQuery statement to hide all elements having class name "new"?


  1. $("new").hide()
  2. $(new).hide()
  3. $(".new").hide()
  4. $("#new").hide()
discuss
Which is the correct jQuery statement to hide all elements having id name "new"?

 Which is the correct jQuery statement to hide all elements having id name "new"?


  1. $("new").hide()
  2. $(new).hide()
  3. $(".new").hide()
  4. $("#new").hide()
discuss
What is the use of jQuery Selectors?

 What is the use of jQuery Selectors?


  1. jQuery selectors are used to select and manipulate HTML element(s).
  2. jQuery selectors are used to import the HTML elements from the other file.
  3. jQuery selectors are used to select and manipulate JSON elements(s).
  4. jQuery selectors are used to select and manipulate ReactJS classes.
discuss
Which is the correct jQuery selector statement to select all <div> elements?

 Which is the correct jQuery selector statement to select all <div> elements?


  1. $(".div")
  2. $("#div")
  3. $("div")
  4. $("<div>")
discuss
Which sign is used for class selector?

Which sign is used for class selector?


  1. $class
  2. .class
  3. #class
  4. None
discuss
Which sign is used for id selector?

 Which sign is used for id selector?


  1. $id
  2. .id
  3. #id
  4. None
discuss
Why #id selectors are used for?

 Why #id selectors are used for?


  1. To select all elements having the id
  2. To select all elements without having the id
  3. To select all elements having the id within a specified <div>
  4. To select all elements having the id within a specified section.
discuss
Which is the correct jQuery selector to select all elements?

Which is the correct jQuery selector to select all elements?


  1. $("all")
  2. $("*.*")
  3. $("*")
  4. $("***")
discuss
Which is the correct jQuery selector to select current HTML element?

Which is the correct jQuery selector to select current HTML element?


  1. $(this)
  2. $(cur)
  3. $(.this)
  4. $(#this)
discuss
Which is the correct jQuery selector to select all <div> elements with class name "new"?

Which is the correct jQuery selector to select all <div> elements with class name "new"?


  1. $(".new")
  2. $("div.new")
  3. $(".div.new")
  4. $(".div#new")
discuss
Which is the correct jQuery selector to select the first HTML element?

 Which is the correct jQuery selector to select the first HTML element?


  1. $("element_name.first")
  2. $("element_name#first")
  3. $("element_name::first")
  4. $("element_name:first")
discuss
total MCQs: 105

MCQs

105

Views

113

Best Answers

299

Points

5