Advertisements
Advertisements
प्रश्न
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
MCQ
Advertisements
उत्तर
Linking via <A> and Embedding via <EMBED>
Explanation:
An audio file can be linked using the <A> (anchor) tag as shown below:
<A HREF = "audio.mp3"> Click to Play </A>
An audio file can also be embedded directly into a web page using the <EMBED> tag:
<EMBED SRC = "audio.mp3" WIDTH = "100" HEIGHT = "50" AUTOSTART = "TRUE" LOOP = "TRUE">
The <VIDEO> tag is used to insert and play video files within an HTML page.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
