An Internet media type,[1] originally called a MIME type after MIME and sometimes a Content-type after the name of a header in several protocols whose value is such a type, is a two-part identifier for file formats on the Internet. The identifiers were originally defined in RFC 2046 for use in e-mail sent through SMTP, but their use has expanded to other protocols such as HTTP and SIP.
A media type is composed of at least two parts: a type, a subtype, and one or more optional parameters. For example, subtypes of text type have an optional charset parameter that can be included to indicate the character encoding, and subtypes of multipart type often define a boundary between parts.
Types or subtypes that begin with "x-" are nonstandard -- they cannot be registered with IANA.[2] Subtypes that begin with vnd. are vendor-specific; subtypes in the personal or vanity tree begin with prs..[3]
Contents |
IANA manages a registry of media types and character encodings. The organization makes a list available to the public through the Web. Some of the more notable media types used on the Web are listed below:
application: Multipurpose files
application/EDI-X12: EDI X12 data; Defined in RFC 1767application/EDIFACT: EDI EDIFACT data; Defined in RFC 1767application/javascript: JavaScript; Defined in RFC 4329application/octet-stream: Arbitrary byte stream. This is thought of as the "default" media type used by several operating systems, often used to identify executable files, files of unknown type, or files that should be downloaded in protocols that do not provide a separate "content disposition" header. RFC 2046 specifies this as the fallback for unrecognized subtypes of other types.application/ogg: Ogg, a multimedia bitstream container format; Defined in RFC 3534application/xhtml+xml: XHTML; Defined by RFC 3236application/xml-dtd: DTD files; Defined by RFC 3023application/json: JavaScript Object Notation JSON; Defined in RFC 4627application/zip: ZIP archive files; Registered[4]audio: Audio
audio/mpeg: MP3 or other MPEG audio; Defined in RFC 3003audio/x-ms-wma: Windows Media Audio; Documented in Microsoft KB 288102audio/vnd.rn-realaudio: RealAudio; Documented in RealPlayer Customer Support Answer 2559audio/x-wav: WAV audioexampleimage
messagemodel: 3D modelsmultipart: Archives and other objects made of more than one part
text: Human-readable text and source code
text/css: Cascading Style Sheets; Defined in RFC 2318text/html: HTML; Defined in RFC 2854text/javascript (Obsolete): JavaScript; Defined in and obsoleted by RFC 4329 in order to discourage its usage in favor of application/javascripttext/plain: Textual data; Defined in RFC 2046 and RFC 3676text/xml: Extensible Markup Language; Defined in RFC 3023video: Video
video/mpeg: MPEG-1 video with multiplexed audio; Defined in RFC 2045 and RFC 2046video/mp4: MP4 video; Defined in RFC 4337video/quicktime: QuickTime video; Registered[7]video/x-ms-wmv: Windows Media Video; Documented in Microsoft KB 288102vnd: Vendor Specific Files [8]
application/vnd.ms-excel: Microsoft Excel filesapplication/vnd.ms-powerpoint: Microsoft Powerpoint filesapplication/msword: Microsoft Word filesapplication/vnd.mozilla.xul+xml: Mozilla XUL filesx: Non-standard files[8]
application/x-dvi: Digital Video files in DVI formatapplication/x-httpd-php: PHP filesapplication/x-httpd-php-source: PHP source filesapplication/x-latex: LATEX filesapplication/x-shockwave-flash: Adobe Flash files; Documented in Adobe TechNote tn_4151 and Adobe TechNote tn_16509application/x-stuffit: StuffIt archive filesapplication/x-rar-compressed: RAR archive filesapplication/x-tar: Tarball filesNo comments have been added.