Define :
The audio tag is used to embed sound content in a document, such as music or other audio streams.
these supported audio formats in HTML: MP3, WAV, OGG
Audio tag attributes autoplay, controls, loop, muted, preload="auto|metadata|none
HTML Audio controls
Add controls to our audio tag we can use an attribute called controls.
It is used to control the audio like sound, play, and pause.
Output :
HTML Audio autoplay
It is used to automatically play the audio.
Output :
HTML audio mute
Used to mute and unmute the audio.
Output :