HTML: input file
<input> elements with type="file" let the user choose one or more files from their device storage. Once chosen, the files can be uploaded to a server using form submission, or manipulated using JavaScript code and the File API.

各种ACCEPT文件,如下:
https://stackoverflow.com/questions/11832930/html-input-file-accept-attribute-file-type-csv

本文来自博客园,转载请注明原文链接:https://www.cnblogs.com/keeplearningandsharing/p/17671492.html
浙公网安备 33010602011771号