audio element
The audio element embeds audio content into an HTML document. You specify the audio source using the src attribute.
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<audio controls src="mytrack.mp3" autoplay> Audio content
cannot be played
</audio>
</body>
</html>
Using the source Element to Provide Multiple Audio Formats
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<audio controls autoplay>
<source src="mytrack.ogg" />
<source src="mytrack.mp3" />
<source src="mytrack.wav" />
Audio content cannot be played
</audio>
</body>
</html>