HTML Drag and Drop API

The HTML5, Drag and Drop (DnD) API feature is used to make almost any element draggable on our page.

Code :