JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

MimeType.type Property


MimeType.type Property---the name of a MIME type


Navigator 3.0




The type property of a MimeType object is a read-only string that specifies the name of the MIME type. This is a unique string such as "text/html" or "image/jpeg" that distinguishes this MIME type from all others. It describes the general type of data and the data format used.

The value of the type property can also be used as an index to access the elements of the navigator.mimeTypes[] array.

See Also

"MimeType", "MimeType.description", "Navigator", "Plugin"

Previous Home Next
MimeType.suffixes Book Index name

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
Hosted by uCoz