Sail E0 Webinar

MCQs

Total Questions : 47 | Page 2 of 5 pages
Question 11. Which of the following property is common in all drag events?
  1.    drag effects
  2.    drag data
  3.    dataTransfer
  4.    dragenter
 Discuss Question
Answer: Option C. -> dataTransfer
Question 12. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.
  1.    drop
  2.    drag
  3.    preventDefault
  4.    dataTransfer
 Discuss Question
Answer: Option C. -> preventDefault
Question 13. ______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.
  1.    Dragging HTML and XML
  2.    Dragging Text
  3.    Dragging Files
  4.    Dragging Links
 Discuss Question
Answer: Option D. -> Dragging Links
Question 14. _____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.
  1.    Dragging HTML and XML
  2.    Dragging Text
  3.    Dragging Files
  4.    Dragging Links
 Discuss Question
Answer: Option B. -> Dragging Text
Question 15. Which of the following property is used to determine which drag operation was desired?
  1.    dragend
  2.    getData
  3.    dropEffect
  4.    captureData
 Discuss Question
Answer: Option C. -> dropEffect
Question 16. A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 17. _____________ and elements in a document may be dragged using the application/x-moz-node type.
  1.    Dragging HTML and XML
  2.    Dragging Text
  3.    Dragging Nodes
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Dragging Nodes
Question 18. The tag which allows you to nest other HTML tags within the description
1.
2.
3.
  1.    Option 1
  2.    Option 2
  3.    Option 3
  4.    None of the above
 Discuss Question
Answer: Option A. -> Option 1
Question 19. The first tag inside tag is
1.
2.
3.
4.
  1.    Option 1
  2.    Option 2
  3.    Option 3
  4.    Option 4
 Discuss Question
Answer: Option B. -> Option 2
Question 20. Which tag will you add to specify a font for your whole page ?
1.
2.
3.
4.
  1.    Option 1
  2.    Option 2
  3.    Option 3
  4.    Option 4
 Discuss Question
Answer: Option A. -> Option 1

Latest Videos

Latest Test Papers