Breaking News

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.
 
Example:
<html>
<body>
<p>
<b>starts on file open</b><br>
<bgsound src=”music/border.wav” loop=”5″>
<br>
</body>
</html>
 
 
<img> Tag
<img> tag is used to insert the audio & Video files.
 
Format:
<img border=”0″ dynsrc=”img\dog.mpg” start=”fileopen” loop=”0″ width=”134″ height=”138″>
 
This will add the video file to your page.
 

Check Also

Attributes

Attributes   Tags Attribute Value Description <table> align left,center,right Aligns the table. Deprecated. Use styles …