Advertisements
Advertisements
Question
Write any two ways to add an audio file in a web page using HTML? Explain with sample code.
Code Writing
Solution
-
Using < EMBED > tag <EMBED SRC = "audio.mp3" >
-
Using <Audio> tag < AUDIO controls> <source src="horse.mp3" > Horse.mp3 </AUDIO>
shaalaa.com
Is there an error in this question or solution?