Home  >  Article  >  Web Front-end  >  HTML5 File API improves web page upload function_html5 tutorial tips

HTML5 File API improves web page upload function_html5 tutorial tips

WBOY
WBOYOriginal
2016-05-16 15:51:241432browse
HTML 5 gives HTML, a once simple markup language, a mature charm, making it a powerful tool for web developers. Recently, W3C has launched a new draft - HTML5 File API. This API will greatly improve web-based file upload operations, and can even drag and drop files directly from the desktop to the web.

This draft uses to implement file upload, and its corresponding API provides developers with a mechanism to control upload data and upload progress. However, there are currently very few browsers that support this API, and the only browser that actually supports it seems to be Firefox 3.6. If you are using the latest Firefox version 3.6, you can experience drag-and-drop file uploading 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 at the same time and display each upload individually The progress status of the process.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn