Copyright ©

MIME Media Types

previous next


MIME (Multipurpose Internet Mail Extension) media types were originally devised so that e-mails could include information other than plain text. MIME media types indicate the following things:

MIME types are not just for use with e-mail; they were adopted by Web servers as a way to tell Web browsers what type of material was being sent to them so that they could cope with that kind of file correctly.

MIME content types consist of two parts:

The main type is separated from the subtype by a forward slash character.for example, text/html for HTML.

This chapter is organized by the main types:

For example, the text main type contains types of plain text files, such as:

MIME types are officially supposed to be assigned and listed by the Internet Assigned Numbers Authority (IANA).

Many of the popular MIME types in this list (all those that begin with "x-") are not assigned by the IANA and do not have official status. You can see the list of official MIME types at Those preceded with .vnd are vendor-specific.

When specifying the MIME type of a content-type field you can also indicate the character set for the text being used, If you do not specify a character set, the default is US-ASCII. For example:

content-type:text/plain; charset=iso-8859-1

If you wish to register a Media Type with the IANA, please see the following for the online application:

Application for registration of Media Types

previous next

Copyright ©