Answers for "audio file tags example"

7

how do you play audio files on html

<audio src="sound.mp3" autoplay></audio>
Posted by: Guest on March-15-2020
2

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 co
Posted by: Guest on April-12-2020

Browse Popular Code Answers by Language