TYPE Attribute | type参数属性 | DHTML中文手册 |
Sets or retrieves the MIME type of the media object referenced by the src attribute.
dhtml语法
html <ELEMENT TYPE = sType... > Scripting object.type [ = sType ]
DHTML可能的值
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.
是否符合公共标准
This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 .
Applies To
t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, playItem, t:REF, t:VIDEO
更多语法参考
Introduction to HTML+TIME