Comment: HTML 5 Let HTML, a once simple label language, shine with mature charm, making it a powerful tool for web developers. Recently, W3C launched a new draft - HTML5 File API. This API will greatly improve the web-based file upload operation, and can even directly drag and drop files from the desktop to the web.
HTML 5 makes HTML, a once simple label language, radiate its mature charm, making it a powerful tool for web developers. Recently, W3C launched a new draft - HTML5 File API, which will greatly improve the web-based file upload operation, and can even directly drag and drop files from the desktop to the web.This draft uses <input type=file /> to upload files, and its corresponding API provides developers with a mechanism to manipulate upload data and upload progress. However, there are currently very few browsers that provide support for this API, and the only browsers that really support seem to be Firefox 3.6. If you use the latest Firefox version 3.6, you can experience drag-and-drop file uploads on the demo page.
At the same time, the API also promises to provide a mechanism for web programs to make file upload operations close to the experience of desktop programs, drag and drop multiple files to the web and display the progress status of each upload process separately.