AUDIO Element | audio Behavior
Defines a timed audio element in an HTML document.
Syntax
XML <t:AUDIO ID="sID" STYLE="behavior:url(#default#time)" /> HTML N/A Scripting N/A
Possible Values
sID String that specifies a unique identifier for the object.
Members
Remarks
The members listed in the preceding table might not be accessible through scripting until the window.onload event fires. Waiting for this event to fire ensures that the page is completely loaded, that all behaviors have been applied to corresponding elements on the page, and that all the behavior's properties, methods, and events are available for scripting. Using any of the behavior-defined members before the window.onload event fires could result in a scripting error, indicating that the object does not support that particular member.
Although different media-based elements exist, there is no functional difference in their current implementation. However, you are encouraged to use elements such as ANIMATION, AUDIO, IMG, MEDIA, and VIDEO for improved document readability and enhanced future support.
The prefix t is used to associate this element with an XML namespace. You must include the following line of code in the HEAD section of your HTML document when using this element.
<XML:NAMESPACE PREFIX="t"/>The AUDIO element is available as of Microsoft® Internet Explorer 5, only in the Microsoft® Win32® platform.
See Also
dhtml behaviors, html+time, using dhtml behaviors
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.