HTML Audio

Example

<!DOCTYPE html>
<html>
<body>

<audio controls>
<source src=”horse.ogg” type=”audio/ogg”>
<source src=”horse.mp3″ type=”audio/mpeg”>
Your browser does not support the audio element.
</audio>

</body>
</html>

Output

Updated: February 12, 2019 — 9:52 am
Java Script © 2019