Input Accept 接收各种类型文档 (2007后各文档如docx需配置的accept属性值)



除了以上的类型外,2007后各文档如docx需配置的accept属性值如下:

Extension MIME Type

.xlsx  application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

.xltx  application/vnd.openxmlformats-officedocument.spreadsheetml.template

.potx  application/vnd.openxmlformats-officedocument.presentationml.template

.ppsx  application/vnd.openxmlformats-officedocument.presentationml.slideshow

.pptx  application/vnd.openxmlformats-officedocument.presentationml.presentation

.sldx  application/vnd.openxmlformats-officedocument.presentationml.slide

.docx  application/vnd.openxmlformats-officedocument.wordprocessingml.document

.dotx  application/vnd.openxmlformats-officedocument.wordprocessingml.template

.xlsm  application/vnd.ms-excel.addin.macroEnabled.12

.xlsb  application/vnd.ms-excel.sheet.binary.macroEnabled.12

---------------------

原文:https://blog.csdn.net/sxg0205/article/details/48731031?utm_source=copy 

参考地址: https://blog.csdn.net/zhuyangru/article/details/70254789



*.3gpp audio/3gpp, video/3gpp 3GPP Audio/Video

*.ac3 audio/ac3 AC3 Audio

*.asf allpication/vnd.ms-asf Advanced Streaming Format

*.au audio/basic AU Audio

*.css text/css Cascading Style Sheets

*.csv text/csv Comma Separated Values

*.doc application/msword MS Word Document

*.dot application/msword MS Word Template

*.dtd application/xml-dtd Document Type Definition

*.dwg image/vnd.dwg AutoCAD Drawing Database

*.dxf image/vnd.dxf AutoCAD Drawing Interchange Format

*.gif image/gif Graphic Interchange Format

*.htm text/html HyperText Markup Language

*.html text/html HyperText Markup Language

*.jp2 image/jp2 JPEG-2000

*.jpe image/jpeg JPEG

*.jpeg image/jpeg JPEG

*.jpg image/jpeg JPEG

*.js text/javascript, application/javascript JavaScript

*.json application/json JavaScript Object Notation

*.mp2 audio/mpeg, video/mpeg MPEG Audio/Video Stream, Layer II

*.mp3 audio/mpeg MPEG Audio Stream, Layer III

*.mp4 audio/mp4, video/mp4 MPEG-4 Audio/Video

*.mpeg video/mpeg MPEG Video Stream, Layer II

*.mpg video/mpeg MPEG Video Stream, Layer II

*.mpp application/vnd.ms-project MS Project Project

*.ogg application/ogg, audio/ogg Ogg Vorbis

*.pdf application/pdf Portable Document Format

*.png image/png Portable Network Graphics

*.pot application/vnd.ms-powerpoint MS PowerPoint Template

*.pps application/vnd.ms-powerpoint MS PowerPoint Slideshow

*.ppt application/vnd.ms-powerpoint MS PowerPoint Presentation

*.rtf application/rtf, text/rtf Rich Text Format

*.svf image/vnd.svf Simple Vector Format

*.tif image/tiff Tagged Image Format File

*.tiff image/tiff Tagged Image Format File

*.txt text/plain Plain Text

*.wdb application/vnd.ms-works MS Works Database

*.wps application/vnd.ms-works Works Text Document

*.xhtml application/xhtml+xml Extensible HyperText Markup Language

*.xlc application/vnd.ms-excel MS Excel Chart

*.xlm application/vnd.ms-excel MS Excel Macro

*.xls application/vnd.ms-excel MS Excel Spreadsheet

*.xlt application/vnd.ms-excel MS Excel Template

*.xlw application/vnd.ms-excel MS Excel Workspace

*.xml text/xml, application/xml Extensible Markup Language

*.zip aplication/zip Compressed Archive

---------------------

作者:zhuyangru

来源:CSDN

原文:https://blog.csdn.net/zhuyangru/article/details/70254789?utm_source=copy

版权声明:本文为博主原创文章,转载请附上博文链接!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 背景 TCP协议增强器,是指将TCP/IP协议栈中传输层的TCP协议进行增强,使之符合一些复杂网络环境的参数要求(...
    westolife阅读 307评论 0 0
  • 曾经你是我的太阳, 放下自己, 低入尘埃。 妄图开出一朵花, 让你低头轻轻抚摸。 可是高贵的你怎会低头, 你成路人...
    一念雨阅读 81评论 0 2
  • 出发当晚,北京下起了雷暴,十点多甚至下起冰雹,叮叮咚咚敲在玻璃上,敲的我心里惴惴不安,不知还能不能出发了。 挨到1...
    呆呆的大熊小熊阅读 381评论 2 2
  • 美国人开学是去玩儿? Happy new semester! 新学期快乐! I dreaded going bac...
    123逍遥游阅读 274评论 0 0