The dataTransfer.setData() method

Open up a text editor on your operating system and then try dragging this <div> onto the editor, and dropping it there.

Drag and Drop