In HTML
The HTML5 working draft specification includes support for drag & drop.
Google's web-based e-mail application Gmail supports drag-and-drop of images and attachments in the latest Google Chrome browser and Apple's Safari (5.x).
Read more about this topic: Drag And Drop