Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the MIME type of the object .
This property now applies to the a , link , and script objects.
Syntax
< ELEMENT TYPE = sType ... > |
object.type [ = sType ] |
Possible Values
sType | String that specifies or receives the MIME type of the object. |
The property is read/write. The property has no default value.
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.
Standards Information
This property is defined in HTML 3.2 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
A , OBJECT , LINK |
Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |