audio tag in w3schools code example

Example 1: audio html tag

MIME Types for Audio Formats
Format	MIME-type
MP3		audio/mpeg
OGG		audio/ogg
WAV		audio/wav

If simply audio '<audio>' tag is written then audio controls will not appear on the web page.
and for showing audio controller we need to write controls attribute in audion tag '<audio controls>'.

Example
<audio controls>
  <source src="horse.mp3" type="audio/mpeg">
</audio>

Example 2: HTML Audio

<audio controls autoplay muted>

  <source src="horse.ogg" type="audio/ogg">

  <source src="horse.mp3" type="audio/mpeg">

 Your browser does not support the audio element.

 </audio>