网站制作学习网ASP→正文:如何让浏览器正确显示word文件格式?
字体:

如何让浏览器正确显示word文件格式?

ASP 2007/12/24 8:11:26  点击:不统计

为了正确处理word等格式,你需要在HTML文件中设置好该文件类型,比如:



<meta http-equiv="Content-Type" content="Application/msword">



还有其它经常设置的文件类型:



Application/msword Microsoft Word Document

application/pdf PDF Document

application/wordperfect6.0 WordPerfect 6.0 Document

application/zip ZIP archive

audio/x-wav WAV audio format

audio/midi MIDI audio format

audio/x-pn-realaudio RealAudio

image/gif GIF image format

image/jpeg JPEG image format

image/png PNG image format

text/html HTML document

text/plain Plain text

video/mpeg MPEG video format

video/quicktime QuickTime video format

video/x-msvideo AVI video format



·上一篇:阴历显示(农历) >>    ·下一篇:如何编写通用的ASP防SQL注入攻击程序 >>
推荐文章
最新文章