HTML and CSS Reference
In-Depth Information
muted (or muted="muted" in XHTML)
Disables (mutes) the audio output, even if it overrides user preferences.
Hints to the browser whether the media file should begin to load automatically based on
anticipated best user experience. none prevents the preload; metadata does not download
the media file, but does fetch the resource metadata; auto leaves the decision to preload
to the user agent.
src=" URL
Specifies the location of the media file.
See also source .
<audio src="soundtrack.webm" autoplay controls>
Your browser does not support embedded audio.
Listen to the file <a href="soundtrack.webm">here</a>.
<audio id="soundtrack" controls preload="auto">
<source src="soundtrack.mp3" type="audio/mp3">
<source src="soundtrack.ogg" type="audio/ogg">
<source src="soundtrack.webm" type="audio/webm">
Search WWH ::

Custom Search