HTML5 provides a standard way to embed audio in <audio> Element Web Pages.
Although the Audio Element is comparatively new, it works in most Modern Web Browsers. Inserts an audio into an HTML5 Document using the Browser Default Set with a source.
The <audio> Tag is used to play audio in an HTML file.
For Example
<!DOCTYPE HTML> <html> <body> <audio controls autoplay> <source src="doggi.ogg" type="horse/ogg" /> <source src="audio.wav" type="audio/wav" /> </audio> </body> </html>