word文件格式要怎么让浏览器正确显示?
为了正确处理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