Attributes in HTML

Attribute Value Description
src path of audio file Defines the path of the audio file.
loop positive integer Defines the no. of times the file must be played.
So now lets do some practical.
Just write/copy this example on any text editor new file and save the file and open in the browser and see how it looks.
<b>starts on file open</b><br>
<bgsound src=”music/border.wav” loop=”5″>
<img> Tag
<img> tag is used to insert the audio & Video files.
<img border=”0″ dynsrc=”img\dog.mpg” start=”fileopen” loop=”0″ width=”134″ height=”138″>
This will add the video file to your page.
Scroll to Top