Web Technologies - Quiz - QA
Web Technologies - Quiz - QA
HTML
1. Which of the following is/are the new feature(s) of HTML5? Performs Client-Side validation, Supports offline Storage
2. HTML stands for __________ Hyper Text Markup Language
3. An application that lets you search and see material on the internet is Browser
4. Which element is a container for all the head elements, and may include the document title, scripts, styles, meta information,
and more? <head></head>
JAVASCRIPT
10. Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the JavaScript
code for greeting the user? onclick
11. Which of the below java script code helps to change the content of the paragraph tag dynamically?
<p id="pid1">Aim Higher.. Sky is your limit document.getElementById("pid1").innerHTML = "Never give up!!";
12. Which of the below statements are used to comment a line in JavaScript file? // this is a comment
13. When a user views a page containing a JavaScript program, which machine actually executes the script?
The User's machine running a Web browser
14. David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the
correct option that he can't be done with client-side JavaScript? Store the form's contents to a database file on the server
15. When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?
<SCRIPT>
JQUERY
23. Which of the following is most appropriate tag in html 5 to divide the document into logical document groups?
<section></section>
24. wing is/are true about HTML? Some of the tags are self closing while some of the tags must be explicitly closed
in HTML5, Browser does not throw any error even if we have mistaken in the HTML syntax
25. If you want to change the color of a link to red when moving mouse pointer on top of it, which CSS property you need to
change? a:hover{ color: red; }
26. When referencing an HTML element using jQuery preceded by a ‘ # ‘ , what JavaScript function is this equivalent to?
getElementById
27. The following elements are newly added elements in HTML5: <section> <article> <aside>
28. These elements are called _____________ Semantic elements
29. jQuery is a JavaScript Object Notation library False
30. Some people don’t want animation to interfere with their web page experience. What do I do if I want to let a user turn off
the animation? Use the jquery method:stop()
31. Rhita wants to replace a jQuery code '$(document).ready(fun)' using another equivalent method. Help her to find the correct
method from the given options. $(fun)
32. $("#name").remove(); This will remove the text field when you click on the button. True
33. John wants to animate (moving effect) an element in the webpage he designed. For this, he set its CSS position property to
its default value and applied the animations. If there is no syntax error in the code, what would be output he gets?
Animation failed because the CSS position property set to default value, Animation failed because the CSS position
property set to static
34. Raju wants to remove an event handler that was attached with on() function.Help him to select the correct option. off()
35. Kiran wants to remove all the child nodes from the given div element. Help him to select the correct option to remove all the
child node from the div element.
<body>
<div>
This is some text
<h2>Good morning</h2>
<p>This is a paragraph inside the div.</p>
</div>
<p>This is a paragraph outside the div.</p>
</body>
empty()
Bind an event handler to the "blur" JavaScript event on an element.
blur()