MIME-типы

Комментарии

Содержание

MIME (Multipurpose Internet Mail Extension, Многоцелевые расширения почты Интернета) — спецификация для передачи по сети файлов различного типа: изображений, музыки, текстов, видео, архивов и др. Указание MIME-типа используется в HTML обычно при передаче данных форм и вставки на страницу различных объектов.

Некоторые популярные MIME-типы и расширения файлов с ними связанных приведены в табл. 1.

Табл. 1. MIME-типы
Расширение файлаТип данных
aiapplication/postscript
aifaudio/aiff
aifaudio/x-aiff
aiffaudio/aiff
aiffaudio/x-aiff
aniapplication/x-navi-animation
aosapplication/x-nokia-9000-communicator-add-on-software
apsapplication/mime
arcapplication/octet-stream
arjapplication/arj
arjapplication/octet-stream
artimage/x-jg
asfvideo/x-ms-asf
asmtext/x-asm
asptext/asp
asxapplication/x-mplayer2
asxvideo/x-ms-asf
asxvideo/x-ms-asf-plugin
auaudio/basic
auaudio/x-au
aviapplication/x-troff-msvideo
avivideo/avi
avivideo/msvideo
avivideo/x-msvideo
binapplication/mac-binary
binapplication/macbinary
binapplication/octet-stream
binapplication/x-binary
binapplication/x-macbinary
bmimage/bmp
bmpimage/bmp
bmpimage/x-windows-bmp
booapplication/book
bookapplication/book
ctext/x-c
c++text/plain
ccadapplication/clariscad
classapplication/java
classapplication/java-byte-code
classapplication/x-java-class
comapplication/octet-stream
comtext/plain
conftext/plain
cpptext/x-c
cptapplication/mac-compactpro
cptapplication/x-compactpro
cptapplication/x-cpt
cssapplication/x-pointplus
csstext/css
dcrapplication/x-director
deftext/plain
difvideo/x-dv
dirapplication/x-director
dlvideo/dl
dlvideo/x-dl
docapplication/msword
dotapplication/msword
drwapplication/drafting
dviapplication/x-dvi
dwgapplication/acad
dwgimage/vnd.dwg
dwgimage/x-dwg
dxfapplication/dxf
dxfimage/vnd.dwg
dxfimage/x-dwg
dxrapplication/x-director
exeapplication/octet-stream
gifimage/gif
gzapplication/x-compressed
gzapplication/x-gzip
gzipapplication/x-gzip
gzipmultipart/x-gzip
htext/plain
htext/x-h
hlpapplication/hlp
hlpapplication/x-helpfile
hlpapplication/x-winhelp
htctext/x-component
htmtext/html
htmltext/html
htmlstext/html
htttext/webviewhtml
icex-conference/x-cooltalk
icoimage/x-icon
infapplication/inf
jamaudio/x-jam
javtext/plain
javtext/x-java-source
javatext/plain
javatext/x-java-source
jcmapplication/x-java-commerce
jfifimage/jpeg
jfifimage/pjpeg
jfif-tbnlimage/jpeg
jpeimage/jpeg
jpeimage/pjpeg
jpegimage/jpeg
jpegimage/pjpeg
jpgimage/jpeg
jpgimage/pjpeg
jpsimage/x-jps
jsapplication/x-javascript
jsapplication/javascript
jsapplication/ecmascript
jstext/javascript
jstext/ecmascript
latexapplication/x-latex
lhaapplication/lha
lhaapplication/octet-stream
lhaapplication/x-lha
lhxapplication/octet-stream
listtext/plain
lspapplication/x-lisp
lsptext/x-script.lisp
lsttext/plain
lzhapplication/octet-stream
lzhapplication/x-lzh
lzxapplication/lzx
lzxapplication/octet-stream
lzxapplication/x-lzx
m3uaudio/x-mpequrl
manapplication/x-troff-man
midapplication/x-midi
midaudio/midi
midaudio/x-mid
midaudio/x-midi
midmusic/crescendo
midx-music/x-midi
midiapplication/x-midi
midiaudio/midi
midiaudio/x-mid
midiaudio/x-midi
midimusic/crescendo
midix-music/x-midi
modaudio/mod
modaudio/x-mod
movvideo/quicktime
movievideo/x-sgi-movie
mp2audio/mpeg
mp2audio/x-mpeg
mp2video/mpeg
mp2video/x-mpeg
mp2video/x-mpeq2a
mp3audio/mpeg3
mp3audio/x-mpeg-3
mp3video/mpeg
mp3video/x-mpeg
mp4video/mp4
mpaaudio/mpeg
mpavideo/mpeg
mpegvideo/mpeg
mpgaudio/mpeg
mpgvideo/mpeg
mpgaaudio/mpeg
pastext/pascal
pclapplication/vnd.hp-pcl
pclapplication/x-pcl
pctimage/x-pict
pcximage/x-pcx
pdfapplication/pdf
picimage/pict
pictimage/pict
pltext/plain
pltext/x-script.perl
pmimage/x-xpixmap
pmtext/x-script.perl-module
pm4application/x-pagemaker
pm5application/x-pagemaker
pngimage/png
potapplication/mspowerpoint
potapplication/vnd.ms-powerpoint
ppaapplication/vnd.ms-powerpoint
ppsapplication/mspowerpoint
ppsapplication/vnd.ms-powerpoint
pptapplication/mspowerpoint
pptapplication/powerpoint
pptapplication/vnd.ms-powerpoint
pptapplication/x-mspowerpoint
ppzapplication/mspowerpoint
psapplication/postscript
psdapplication/octet-stream
pwzapplication/vnd.ms-powerpoint
pytext/x-script.phyton
pycapplicaiton/x-bytecode.python
qtvideo/quicktime
qtifimage/x-quicktime
raaudio/x-pn-realaudio
raaudio/x-pn-realaudio-plugin
raaudio/x-realaudio
ramaudio/x-pn-realaudio
rmapplication/vnd.rn-realmedia
rmaudio/x-pn-realaudio
rpmaudio/x-pn-realaudio-plugin
rtfapplication/rtf
rtfapplication/x-rtf
rtftext/richtext
rtxapplication/rtf
rtxtext/richtext
rvvideo/vnd.rn-realvideo
sgmltext/sgml
sgmltext/x-sgml
shapplication/x-bsh
shapplication/x-sh
shapplication/x-shar
shtext/x-script.sh
shtmltext/html
shtmltext/x-server-parsed-html
ssitext/x-server-parsed-html
tarapplication/x-tar
tclapplication/x-tcl
tcltext/x-script.tcl
textapplication/plain
texttext/plain
tgzapplication/gnutar
tgzapplication/x-compressed
tifimage/tiff
tifimage/x-tiff
tiffimage/tiff
tiffimage/x-tiff
txttext/plain
uritext/uri-list
vcdapplication/x-cdlink
vmdapplication/vocaltec-media-desc
vrmlapplication/x-vrml
vrmlmodel/vrml
vrmlx-world/x-vrml
vsdapplication/x-visio
vstapplication/x-visio
vswapplication/x-visio
wavaudio/wav
wavaudio/x-wav
wmfwindows/metafile
xlaapplication/excel
xlaapplication/x-excel
xlaapplication/x-msexcel
xlbapplication/excel
xlbapplication/vnd.ms-excel
xlbapplication/x-excel
xlcapplication/excel
xlcapplication/vnd.ms-excel
xlcapplication/x-excel
xldapplication/excel
xldapplication/x-excel
xlkapplication/excel
xlkapplication/x-excel
xllapplication/excel
xllapplication/vnd.ms-excel
xllapplication/x-excel
xlmapplication/excel
xlmapplication/vnd.ms-excel
xlmapplication/x-excel
xlsapplication/excel
xlsapplication/vnd.ms-excel
xlsapplication/x-excel
xlsapplication/x-msexcel
xltapplication/excel
xltapplication/x-excel
xlvapplication/excel
xlvapplication/x-excel
xlwapplication/excel
xlwapplication/vnd.ms-excel
xlwapplication/x-excel
xlwapplication/x-msexcel
xmaudio/xm
xmlapplication/xml
xmltext/xml
zapplication/x-compress
zapplication/x-compressed
zipapplication/x-compressed
zipapplication/x-zip-compressed
zipapplication/zip
zipmultipart/x-zip

Браузеры ?

Internet ExplorerChromeOperaSafariFirefox
11111
AndroidFirefox MobileOpera MobileSafari Mobile
1161

Браузеры

В таблице браузеров применяются следующие обозначения.

  •  — элемент полностью поддерживается браузером;
  •  — элемент браузером не воспринимается и игнорируется;
  •  — при работе возможно появление различных ошибок, либо элемент поддерживается с оговорками.

Число указывает версию браузреа, начиная с которой элемент поддерживается.

Автор: Влад Мержевич
Последнее изменение: 03.01.2017
Редакторы: Влад Мержевич

Рекомендуем