Created
May 12, 2017 01:08
-
-
Save sc137/bc14c19a498b63ab4681944cecfc021e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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