Skip to content

Instantly share code, notes, and snippets.



Created May 12, 2017
What would you like to do?
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Audio on the Web!</title>
<h1>How do you play audio on a website?</h1>
<p>Put your audio here to listen to it!</p>
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment