html add audio element code example
Example 1: how to add audio in html
<audio controls>
<source src="flag.ogg" type="audio/ogg">
<source src="flag.mp3" type="audio/mpeg">
</audio>
Example 2: how to add an audio in html
<audio controls>
<source src="name.mp3" type="audio/mp3" />
</audio>