Skip to content

Instantly share code, notes, and snippets.

@sc137 sc137/Audio.html
Created May 12, 2017

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Audio on the Web!</title>
</head>
<body>
<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.
</audio>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.