« Previous
Next »
The HTML <audio> Element
To play an audio file in HTML, use the <audio> element:
Output 1:
Download
HTML <audio> Autoplay
Output:
Download
Add muted after autoplay to let your audio file start playing automatically (but muted):
Output 3:
Download
« Previous
Next »