banner



What Is The Correct Jquery Code To Set The Background Color Of All P Elements To Red?

one. Which of the following is correct?
jQuery is a JavaScript Library
jQuery is a JSON Library

ii. jQuery uses CSS selectors and XPath expressions to select elements?
Faux
True

3. Which sign does jQuery employ equally a shortcut for jQuery?
the % sign
the ? Sign
the $ sign

4. With jQuery, look at the following selector: $("div"). What does information technology select?
The showtime div element
All div elements

5. Is jQuery a library for client scripting or server scripting?
Customer scripting
Server scripting

6. Is it possible to use jQuery together with AJAX?
Yes
No

seven. The jQuery html() method works for both HTML and XML documents
False
True

8. What is the correct jQuery code to gear up the background color of all p elements to carmine?
$("p").style("groundwork-color","red");
$("p").layout("background-color","red");
$("p").css("background-colour","red");
$("p").manipulate("background-color","red");

9.With jQuery, wait at the following selector: $("div.intro"). What does it select?
All div elements with course="intro"
The first div element with id="intro"
The commencement div element with class="intro"
All div elements with id="intro"

10. Which jQuery method is used to hibernate selected elements?
subconscious()
hide()
display(none)
visible(false)

eleven. Which jQuery method is used to set i or more style backdrop for selected elements?
css()
way()
html()

12. Which jQuery method is used to perform an asynchronous HTTP request?
jQuery.ajaxSetup()
jQuery.ajax()
jQuery.ajaxAsync()

thirteen. What is the correct jQuery code for making all div elements 100 pixels loftier?
$("div").yPos(100)
$("div").height(100)
$("div").height="100″

14. Which statement is true?
To use jQuery, yous do not have to practise annihilation. Most browsers (Cyberspace Explorer, Chrome, Firefox and                 Opera) accept the jQuery library built in the browser
To use jQuery, you must purchase the jQuery library at http://www.jquery.com
To use jQuery, you can refer to a hosted jQuery library at Google

15. What scripting language is jQuery written in?
VBScript
JavaScript
C++
C#

16. Which jQuery role is used to prevent code from running, earlier the document is finished loading?
$(document).load()
$(certificate).set up()
$(body).onload()

17. Which jQuery method should be used to bargain with name conflicts?
noConflict()
nameConflict()
conflict()
noNameConflict()

xviii. Which jQuery method is used to switch between calculation/removing one or more than classes (for CSS) from selected elements?
switchClass()
toggleClass()
switch()
altClass()

19. Look at the following jQuery selector: $("div#intro .head"). What does it select?
The first chemical element with id="head" inside any div element with class="intro"
All elements with grade="head" inside the first div chemical element with id="intro"
All div elements with id="intro" or class="head"

xx. Is jQuery a W3C standard?
No
Yep

What Is The Correct Jquery Code To Set The Background Color Of All P Elements To Red?,

Source: https://shreelimbkar.wordpress.com/2012/07/20/jquery-quiz-2-with-answers/

Posted by: woodhamcamery.blogspot.com

0 Response to "What Is The Correct Jquery Code To Set The Background Color Of All P Elements To Red?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel