Computer Applications

How can we embed audio in an HTML document ? Give an example to support your answer.

HTML Advanced Features

15 Likes

Answer

We can embed an audio in an HTML document by using the audio tag. To add an audio file named "ringtone.wav" we can use the following HTML code:

<AUDIO CONTROLS>
<SOURCE SRC = "ringtone.wav">
Your browser doesn't support AUDIO element.
</AUDIO>

Answered By

8 Likes


Related Questions