Internet media type

From Wiki @ Karl Jones dot com
Revision as of 07:52, 25 May 2015 by Karl Jones (Talk | contribs) (First)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An Internet media type is a standard identifier used on the Internet to indicate the type of data that a file contains.

Common uses for Internet media types include:

  • Email clients use them to identify attachment files
  • Web browsers use them to determine how to display or output files that are not in HTML format
  • Search engines use them to classify data files on the web

A media type is composed of a type, a subtype, and zero or more optional parameters.

For example, an HTML file might be designated text/html; charset=UTF-8. In this example text is the type, html is the subtype, and charset=UTF-8 is an optional parameter indicating the character encoding.

The IANA manages the official registry of media types.

The identifiers were originally defined in RFC 2046, and were called MIME types because they referred to the non-ASCII parts of email messages that were composed using the MIME (Multipurpose Internet Mail Extensions) specification. They are also sometimes referred to as Content-types.

Their use has expanded from email sent through SMTP, to other protocols such as HTTP, RTP and SIP.

See also

External links

  • [ Internet media type] @ Wikipedia