MIME Type
A standard classification system for identifying file and data types. Expressed in type/subtype format.
MIME type (Multipurpose Internet Mail Extensions) is a standard classification system for identifying file and data types on the internet. It is expressed in type/subtype format such as text/html, application/json, and image/png.
In HTTP communication, specifying the MIME type in the Content-Type header allows browsers and clients to determine how to process the data. Incorrect MIME types can cause files to display improperly. HTTP protocol guides cover this topic in detail.
Text-related MIME types include text/plain, text/html, text/css, and text/javascript, with the charset parameter specifying character encoding.
From a character count perspective, MIME type strings are relatively short and fixed, but the full Content-Type header becomes longer when including charset specifications. Web technology fundamentals books provide additional context.