Its been discussed earlier also. See the following example
Example 1:
<audio src="/test/audio.ogg">
<p>Your browser does not support the <code>audio</code> element.</p>
</audio>
Example 2
<audio src="audio.ogg" controls autoplay loop>
<p>Your browser does not support the <code>audio</code> element </p>
</audio>
controls : Displays the standard HTML5 controls for the audio on the web page.
autoplay : Makes the audio play automatically.
loop : Make the audio repeat (loop) automatically.
Example 3:
<audio src="audio.mp3" preload="auto" controls></audio>
The preload attribute is used in the audio element for buffering large files. It can take one of 3 values:
"none" does not buffer the file
"auto" buffers the media file
"metadata" buffers only the metadata for the file