

MCQOPTIONS
Saved Bookmarks
This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.
1. |
_____________ and elements in a document may be dragged using the application/x-moz-node type. |
A. | Dragging HTML and XML |
B. | Dragging Text |
C. | Dragging Nodes |
D. | Dragging Links |
Answer» D. Dragging Links | |
2. |
A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped. |
A. | True |
B. | False |
Answer» B. False | |
3. |
______________AND_ELEMENTS_IN_A_DOCUMENT_MAY_BE_DRAGGED_USING_THE_APPLICATION/X-MOZ-NODE_TYPE.?$ |
A. | Dragging HTML and XML |
B. | Dragging Text |
C. | Dragging Nodes |
D. | Dragging Links |
Answer» D. Dragging Links | |
4. |
A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped? |
A. | True |
B. | False |
Answer» B. False | |
5. |
______________ 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. |
A. | Dragging HTML and XML |
B. | Dragging Text |
C. | Dragging Files |
D. | Dragging Links |
Answer» E. | |
6. |
Which of the following property is used to determine which drag operation was desired? |
A. | dragend |
B. | getData |
C. | dropEffect |
D. | captureData |
Answer» D. captureData | |
7. |
Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location. |
A. | drop |
B. | drag |
C. | preventDefault |
D. | dataTransfer |
Answer» D. dataTransfer | |
8. |
_____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself. |
A. | Dragging HTML and XML |
B. | Dragging Text |
C. | Dragging Files |
D. | Dragging Links |
Answer» C. Dragging Files | |
9. |
Which of the following property is common in all drag events? |
A. | drag effects |
B. | drag data |
C. | dataTransfer |
D. | dragenter |
Answer» D. dragenter | |
10. |
The _________ event is fired on the element where the drop occurred at the end of the drag operation. |
A. | drag |
B. | drop |
C. | dragstart |
D. | dragenter |
Answer» C. dragstart | |
11. |
Which event is fired as the mouse is moving over an element when a drag is occurring? |
A. | dragover |
B. | dragenter |
C. | dragstart |
D. | dragleave |
Answer» B. dragenter | |