Sets or retrieves the MIME type of the media object referenced by the SRC attribute.
Syntax
HTML | <ELEMENT TYPE
= sType... >
|
---|
Scripting | object.type [ = sType ] |
---|
Possible Values
sType | String that
specifies or receives the MIME type of the media associated with the element. |
The property is read/write.
The property has no default value.
Remarks
By default, the server should send the MIME type to the user agent. If that mechanism fails, the MIME type is obtained from this property.
This property cannot be modified in script after the onload event fires on the document body.
Standards Information
This property is defined in
Synchronized Multimedia Integration Language (SMIL) 2.0
.
Applies To
See Also
Introduction to HTML+TIME