HTML Audio
HTML Audio is used to set an audio in a webpage. Before HTML5 an audio can be embedded only by using a plugin. At present by using HTML5 you can easily embed an audio in a webpage.
But it is supported by the major browsers such as Chrome, Firefox and Opera.
<audio> element
To set an audio in HTML5 you can use the <audio> element.
Example:
<audio controls>
<source src="audio.mp3" type="audio/mpeg">
This browser does not support the audio tag
</audio>
<source src="audio.mp3" type="audio/mpeg">
This browser does not support the audio tag
</audio>
Run Example