KnowledgeBoat Logo

Computer Applications

Which are the ways to add an audio file in a web page ?

  1. Linking via <A>
  2. Embedding via <EMBED>
  3. Embedding via <VIDEO>
  4. All of these

HTML Advanced Features

3 Likes

Answer

Linking via <A>

Embedding via <EMBED>

Reason — We can link an audio file via anchor tag <A> in the following way :

<A HREF = "audio.mp3"> Click to Play </A>

We can link an audio file via embed tag <EMBED> in the following way :

<EMBED SRC = "audio.mp3" WIDTH = "100" HEIGHT = "50" AUTOSTART = "TRUE" LOOP = "TRUE">

<VIDEO> tag is used to insert a video file in HTML page.

Answered By

1 Like


Related Questions