大学床铺标准尺寸
<form> <input type="file" name="pic" id="pic" accept="image/gif, image/jpeg" />大学床铺标准尺寸</fo班级特色活动rm>
accept 属性只能与 <input type=”file”&这样的人让我敬佩500gt; 配合使用。它规定能够通过文件上传进行提交的文件类型。
accept可以指定如下信息:
*.3gppaudio/3gpp, video/3gpp3gpp audio/video*.ac3audio/ac3ac3 audio*.asfallpication/vnd.ms-asfadvanced streaming format*.auaudio/basicau audio*.csstext/csscascading style sheets*.csvtext/csvcomma parated values*.docapplication/mswordms word document*.dotapplication/mswordms word template*.dtdapplication/xml-dtddocument type definition*.dwgimage/vnd.dwgautocad drawing databa*.dxfimage/vnd.dxfautocad drawing interchange format*.gifimage/gifgraphic interchange format*.htmtext/htmlhypertext markup language*.htmltext/htmlhypertext markup language*.jp2image/jp2jpeg-2000*.jpeimage/jpegjpeg*.jpegimage/jpegjpeg*.jpgimage/jpegjpeg*.jstext/javascript, application/javascriptjavascript*.jsonapplication/jsonjavascript object notation*.mp2audio/mpeg, video/mpegmpeg audio/video stream, layer ii*.mp3audio/mpegmpeg audio stream, layer iii*.mp4audio/mp4, video/mp4mpeg-4 audio/video*.mpegvideo/mpegmpeg video stream, layer ii*.mpgvideo/mpegmpeg video stream, layer ii*.mppapplication/vnd.ms-projectms project project*.oggapplication/ogg, audio/oggogg vorbis*.pdfapplication/pdfportable document format*.pngimage/pngportable network graphics*.potapplication/vnd.hen的复数ms-powerpointms powerpoint template*.ppsapplication/vnd.ms-powerpointms powerpoint slideshow*.pptapplication/vnd.ms-powerpointms powerpoint prentation*.rtfapplication/rtf, text/rtfrich text format*.svfimage/vnd.svfsimple vector format*.tifimage/tifftagged image format file*.tiffimage/tifftagged image format file*.txttext/plainplain text*.wdbapplication/vnd.ms-worksms works databa*.wpsapplication/vnd.ms-worksworks text document*.xhtmlapplication/xhtml+xmlextensible hypertext markup language*.xlcapplication/vnd.ms-excelms excel chart*.xlmapplication/vnd.ms-excelms excel macro*.xlsapplication/vnd.ms-excelms excel spreadsheet*.xltapplication/vnd.ms-excelms excel template*.xlwapplication/vnd.ms-excelms excel workspace*.xmltext/xml, application/xmlextensible markup language*.zipapplication/zipcompresd archive除了以上的类型外,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.prentationml.template
.ppsx application/vnd.openxmlformats-officedocument.prentationml.slideshow
.pptx application/vnd.openxmlformats-officedocument.prentationml.prentation
.sldx application/vnd.openxmlformats-officedocument.prentationml.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
本文发布于:2023-04-03 17:16:45,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/9929318dd3eb92b05c8e67cec30b2077.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:HTML 标签的 accept 属性.doc
本文 PDF 下载地址:HTML 标签的 accept 属性.pdf
留言与评论(共有 0 条评论) |