MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An HTML extension that allows Web page elements to bemoved inside and outside the Web page.
A
Drag-and-drop
B
FTP
C
DOM
D
Canvas
Explanation: 

Detailed explanation-1: -HTML Drag and Drop (DnD) is a feature of HTML5. It is a powerful user interface concept which is used to copy, reorder and delete items with the help of mouse. You can hold the mouse button down over an element and drag it to another location. If you want to drop the element there, just release the mouse button.

Detailed explanation-2: -HTML Drag and Drop interfaces enable applications to use drag-and-drop features in browsers. The user may select draggable elements with a mouse, drag those elements to a droppable element, and drop them by releasing the mouse button.

Detailed explanation-3: -The image link is inserted in the HTML page using <img> src attribute. Whenever we are going to insert the image, we have to enable draggable=”true”. Also, enable ondragstart=”drag(event)” so that this image can be draggable along with setting the image width and height.

Detailed explanation-4: -The dragstart event is fired when the user starts dragging an element or text selection. The drag event is fired when an element or text selection is being dragged (every few hundred milliseconds).

There is 1 question to complete.