1. What does DHTML Stand For?
2. What value is displayed in the following code? <div id="id">0</div> <script> document.getElementById('id').innerHTML = 1 document.getElementsByTagName('div').innerHTML = 2 document.getElementsByTagName('div')[0].innerHTML = 3 </script>
3. What technology does DHTML use to produce dynamic content?
4. Which of the following is not a DOM Mouse Event?
5. True or False? DHTML is a single technology.
6. Event bubbling is useful because of which of the following reasons?
7. Which DHTML technology does the following code utilize? document.write(Date());
8. Which of the following is an INVALID event?
9. Which of the following is TRUE about data binding feature of DHTML?
10. Which of the following is a DHTML technology?
11. True or False. DHTML can be used in conjunction with AJAX.
12. True or False. DHTML can be used in conjunction with HTML5.
13. Which of the following correctly describes Layer attribute "src"?
14. True or False. CSS supports child selector.
15. Which of the following properties/methods would you use to animate a div section moving across the screen?
16. Which of the following is not a typical use of DHTML?
17. Which of the following tags can be used for moving text Up to down or left ot right or vise versa?
18. Which of the following is not a VALID component of DHTML?
19. Which of the following is an INVALID nodeType?
20. What kind of scripting language is DHTML?
21. What is the color of “Rainbow” in the following code? <style> div {color:blue;} </style> <div id="Rainbow" color="green" style="color:red;">Hello World</div> <script> document.getElementById('Rainbow').style.color = 'yellow'; </script>
22. Which of the following code will reliably display the current date in most major browsers?
23. Which of the following events do all Forms have by default?
24. Which of the following will cancel the default action of onclick event in IE?
25. Which of the following functions copies and returns a node?
26. Which statement about the difference between DHTML and HTML is true?
27. Which of the following is NOT TRUE about DOM
28. Which of the following function is used for retrieving a XML file in IE5+?
29. What is the child object appended in the appendChild() method?
30. Which of the following functions can be used to stop the event from traversing the rest of the document?
31. True or False? JQuery is a DHTML technology.
32. Which of the following is FALSE about DIV?
33. Which of the following is not a CSS media type?
34. Which of the following is NOT TRUE about DHTML?
35. Which of the following is FALSE about DHTML?
36. What does the function "document.styleSheets.length" returns?
37. Which of the following is FALSE about DOM?
38. What value is displayed in the following code? <div id="id">0</div> <script> document.getElementById('id').innerText = 1 document.getElementsByTagName('div').innerText = 2 document.getElementsByTagName('div')[0].innerText = 3
39. Which JavaScript elements allow control in DHTML?
40. Which of the following is NOT a way to apply css to a web page?
41. True or False? DHTML is a predecessor of HTML5.
42. What statement about the marquee tag is false?
43. Which of the following is not a DHTML technology?
44. Which of the following is TRUE about iFrame?
DHTML MCQs | Topic-wise