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.
Title | |
---|---|
jQuery is a ______jQuery is a ______.
The answer is:
A. JavaScript Library
|
|
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?
The answer is:
A. HTML
|
|
Who developed jQuery?Who developed jQuery?
The answer is:
B. John Resig
|
|
In which year jQuery was initial released? |
|
Is jQuery case-sensitive? |
|
Which feature(s) jQuery contains?Which feature(s) jQuery contains?
The answer is:
A. HTML/DOM manipulation
|
|
Which sign is used to define/access jQuery? |
|
Which jQuery is used to hide the current element?Which jQuery is used to hide the current element?
The answer is:
D. $(this).hide()
|
|
Which is the correct jQuery statement to hide all <div> elements?Which is the correct jQuery statement to hide all <div> elements?
The answer is:
A. $("div").hide()
|
|
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"?
The answer is:
C. $(".new").hide()
|
|
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"?
The answer is:
D. $("#new").hide()
|
|
What is the use of jQuery Selectors?What is the use of jQuery Selectors?
The answer is:
A. jQuery selectors are used to select and manipulate HTML element(s).
|
|
Which is the correct jQuery selector statement to select all <div> elements?Which is the correct jQuery selector statement to select all <div> elements?
The answer is:
C. $("div")
|
|
Which sign is used for class selector? |
|
Which sign is used for id selector? |
|
Why #id selectors are used for?Why #id selectors are used for?
The answer is:
C. To select all elements having the id within a specified <div>
|
|
Which is the correct jQuery selector to select all elements?Which is the correct jQuery selector to select all elements?
The answer is:
C. $("*")
|
|
Which is the correct jQuery selector to select current HTML element?Which is the correct jQuery selector to select current HTML element?
The answer is:
A. $(this)
|
|
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"?
The answer is:
B. $("div.new")
|
|
Which is the correct jQuery selector to select the first HTML element?Which is the correct jQuery selector to select the first HTML element?
The answer is:
D. $("element_name:first")
|
MCQs
Views
Best Answers
Points