Computer Applications
Which are the ways to add an audio file in a web page ?
- Linking via
<A> - Embedding via
<EMBED> - Embedding via
<VIDEO> - All of these
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.
Related Questions
Which of the following is/are not valid tag(s) for inserting audio files in an HTML page ?
- embed
- audio
- sound
- music
Which of the following is/are not valid tag(s) for inserting video files in an HTML pages?
- embed
- video
- movie
- VID
Which are the ways to add a video file in a web page ?
- Linking via
<A> - Embedding via
<EMBED> - Embedding via
<VIDEO> - All of these
- Linking via
Any tag allowed inside a
<body>tag is allowed inside a<form>tag.- True
- False