0 votes
78 views
in Computer Science by (8.5k points)
Write any two ways to add an audio file in a web page using HTML? Explain with sample code

1 Answer

0 votes
by (56.5k points)
 
Best answer
I. Using < EMBED > tag

<EMBED SRC = "audio.mp3" >

II. Using <Audio> tag

< AUDIO controls>

<source src="horse.mp3" >

Horse.mp3

</AUDIO>
...