Sets or retrieves the MIME type of the object.
![]() |
Syntax
| HTML | <element type="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the MIME type of the object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 12.2
Remarks
MIME is an abbreviation for Multipurpose Internet Mail Extension, and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.
When no CLASSID attribute is specified for an object, the type property is used to retrieve the class identifier for the object.
This property applies to the a, link, and script objects.
See also
Build date: 11/28/2012
