t:TYPE Attribute | type Property?deprecated) | Internet Development Index |
Sets or retrieves the MIME type of the media object referenced by the t:SRC attribute.
Syntax
XML <ELEMENT t: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 HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:VIDEO
See Also
Introduction to HTML+TIME