Skip to content

Commit 028c226

Browse files
committed
Drag and Drop
1 parent 07697e0 commit 028c226

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ Example:
866866
<b><a href="#">↥ back to top</a></b>
867867
</div>
868868

869-
#### Q. Explain Drag and Drop in HTML5.
869+
#### Q. Explain Drag and Drop in HTML5?
870870
HTML5 drag-and-drop uses the `DOM event model` and `drag events` inherited from `mouse events`. A typical drag operation begins when a user selects a draggable element, drags the element to a droppable element, and then releases the dragged element.
871871

872872
|Event |Description |
@@ -906,6 +906,9 @@ Example
906906
</body>
907907
</html>
908908
```
909+
910+
[Live Example](https://learning-zone.github.io/html-interview-questions/drag-drop.html)
911+
909912
#### Q. Why to use IndexedDB instead of WebSQL in HTML5?
910913
**1.) WebSQL** is an API that is only supported in Chrome and Safari (and Android and iOS by extension). It provides an asynchronous, transactional interface to SQLite. Since 2010, it has been deprecated in favor of IndexedDB.
911914

0 commit comments

Comments
 (0)