New! My 44-page ebook "CSS in 44 minutes" is out! 😃
Allows to embed an audio clip into a web page.
<audio src="/assets/Hal.mp3" controls></audio>
Defines the source of the audio file.
You can use a relative path.
Set the volume. Between 0.0 (silent) and 1.0 (loudest).
The track is silent.
The track is set to the loudest.
The track will automatically start on load.
Show the browser's built-in audio controls.
The track will loop when reaching the end.
The track will be muted by default.
The track will be preloaded when the page loads.
Share this HTML element
Share on Twitter
Share on Facebook