Computer Science, asked by KrishanYo, 1 year ago

Write embed code for embedding audio file in a web page with the help of <object> tag.​

Answers

Answered by Niruru
16
\bf\underline{What \:is \:Embedding?}

Adding multimedia content in a web page is known as embedding. We can add image, audio and video in our web page as multimedia content.

\bf\underline{Code \:to \:embed \:audio \:file \:in \:a \:web}\bf\underline{page \:with \:object \:tag :-}

<object data="music.wav" type="audio/quicktime" height="100" width="150">

<param name="autostart" value="true">

<param name="bgcolour" value="#FFFFFF">

<param name="src" value="music.wav">

<param name="align" value="left">

<a href="music.wav"> Music </a>

</object>

_____________________ _ _

\bf\underline{Explanation :-}

\bf {Data \:type} shows the type of data whether it is audio, video or image.

▪With the help of \bf {height} and \bf {width} an outlook of file can be visible.

▪Abbreviation of \bf {Parameter} is \bf {param} which is used to set values in objects.

▪If \bf {autostart} is true then the file will be played by itself.

\bf {Source - src} is almost same at data type. It shows where the data is saved.

\bf {Align} will set a position of file in the web page.

▪<a> tag is for \bf {linking} by which user can visit to the another web page to play the audio file.
Answered by Anonymous
0

 \sf{answer}

<object data="music.wav" type="audio/quicktime" height="100" width="150">

<param name="autostart" value="true">

<param name="bgcolour" value="#FFFFFF">

<param name="src" value="music.wav">

<param name="align" value="left">

<a href="music.wav"> Music </a>

</object>

Similar questions