The type property obtains a string specifying the name of the MIME type.
<html> <head> <title> Using the type property of the MimeType object</title> </head> <body> <script language="javascript"> <!--- for (i=0; i < 3; i++) { document.write("MimeType type " + i + " :"); document.writeln(navigator.mimeTypes[i].type); document.write("<br>"); } --> </script> </body> </html>