In this article, you will learn How to Play Audio on the Web Browser. Follow the Example.

Example:-

<html>
<head>
<title>Video</title>
</head>
<body>
<audio controls>
  <source src="song.ogg" type="audio/ogg">
  <source src="song.mp3" type="audio/mpeg">
</audio>
</body>
</html>