1. Description
MIME (Multipurpose Internet Mail Extensions) Multipurpose Internet Mail Extensions type. It is an Internet common standard. It is a way to set a file with a certain
extension
to be opened with an application . When the extension file is accessed, the browser will automatically use the specified application to open. It is mostly used to specify some client - defined file names , as well as some media file opening methods.
Each MIME type consists of two parts, the front is a large category of data, such as audio audio, image image, etc., and the specific type is defined in the back.
For example:
hypertext markup language
text.html text/html
2. Common types
.doc application/msword
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.pdf application/pdf
.xls application/vnd.ms-excel application/x-excel
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.ppt application/vnd.ms-powerpoint
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.pps application/vnd.ms-powerpoint
.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
.rar application/octet-stream
.tar application / x-tar
.tgz application/x-compressed
.zip application/x-zip-compressed
.z application/x-compress
.bmp image/bmp
.gif image/gif
.png image/png
.tif .tiff image/tiff
.jpe .jpeg .jpg image/jpeg
.txt text/plain
.xml text/xml
.htm text/html
.html text/html
.css text/css
.js text/javascript
.swf application/x-shockwave-flash
.dll application/x-msdownload
.exe application/octet-stream
.msi application/octet-stream
.chm application/octet-stream
.cab application/octet-stream
.ocx application/octet-stream
.wav audio/wav
.wma audio/x-ms-wma
.wmv video / x-ms-wmv
.mp3 .mp2 .mpe .mpeg .mpg audio/mpeg
.rm application/vnd.rn-realmedia
.mid .midi .rmi audio/mid
.mht .mhtml message/rfc822
.rtf application/rtf