ExamVeda
Login
Home
11
Which of the following property is common in all drag events?
Discuss
Answer & Solution
Answer: Option C
Solution:
The dataTransfer property of all drag events holds data about the drag and drop operation.
12
_____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.
Discuss
Answer & Solution
Answer: Option B
Solution:
Although the process is automatic, it is recommended that you always add data of the text/plain type as a fallback for applications or drop targets that do not support other types, unless there is no logical text alternative. Always add the plain text type last as it is the least specific.
13
Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.
Discuss
Answer & Solution
Answer: Option C
Solution:
Calling the preventDefault method during both a dragenter and dragover event will indicate that a drop is allowed at that location. However, you will commonly wish to call the preventDefault method only in certain situations, for example, only if a link is being dragged.
14
Which of the following property is used to determine which drag operation was desired?
Discuss
Answer & Solution
Answer: Option C
Solution:
During the drop event, you should retrieve that data that was dropped from the event and insert it at the drop location. One can use the dropEffect property to determine which drag operation was desired.
15
______________ 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.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
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.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
17
_____________ and elements in a document may be dragged using the application/x-moz-node type.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
18
The tag which allows you to nest other HTML tags within the description
1. <CAPTION>
2. <TD>
3. <TR>
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
19
The first tag inside <TABLE> tag is
1. <HEAD>
2. <CAPTION>
3. <TH>
4. <TD>
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
20
Which tag will you add to specify a font for your whole page ?
1. <defaultfont>
2. <targetfont>
3. <basefont>
4. <font>
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board