- The <audio> element is useful for embedding an audio player into a Web page. It is dedicated for streamed audio. It is very similar to the <video> element, both in its use and in its API.
- <html lang=”en”>
- <audio controls=“controls”>
- <source src=“https://dl.dropboxusercontent.com/u/1631516/horse.ogg”
- type=“audio/ogg” />
- <source src=“https://dl.dropboxusercontent.com/u/1631516/horse.mp3”
- type=“audio/mp3” />
- Your browser does not support the audio element.
- Download the audio/video in
- <a href=”https://dl.dropboxusercontent.com/u/1631516/horse.ogg”>OGG</a>
- or <ahref=”https://dl.dropboxusercontent.com/u/1631516/horse.mp3”>MP3</a>