<input type="file" accept=""><br>
<br>
accept属性列表<br>
1.accept="application/msExcel"<br>
2.accept="application/msword"<br>
3.accept="application/pdf"<br>
4.accept="application/poscript"<br>
5.accept="application/rtf"<br>
6.accept="application/x-zip-compressed"<br>
7.accept="audio/basic"<br>
8.accept="audio/x-aiff"<br>
9.accept="audio/x-mpeg"<br>
10.accept="audio/x-pn/realaudio"<br>
11.accept="audio/x-waw"<br>
12.accept="image/gif"<br>
13.accept="image/jpeg"<br>
14.accept="image/tiff"<br>
15.accept="image/x-ms-bmp"<br>
16.accept="image/x-photo-cd"<br>
17.accept="image/x-png"<br>
18.accept="image/x-portablebitmap"<br>
19.accept="image/x-portable-greymap"<br>
20.accept="image/x-portable-pixmap"<br>
21.accept="image/x-rgb"<br>
22.accept="text/HTML"<br>
23.accept="text/plain"<br>
24.accept="video/quicktime"<br>
25.accept="video/x-mpeg2"<br>
26.accept="video/x-msvideo"<br>
需要什么选吧!