DEV Community

Vijay SRJ
Vijay SRJ

Posted on

How to Drag and Drop a file from your computer to a HTML page ?

With minimal code using HTML5 you can drag and drop a file from your computer to a HTML page and display its contents.

Here is how to do it:

https://fullstackdeveloper.guru/2020/10/09/how-to-drag-and-drop-a-file-into-a-html-page-using-html5/

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay