Web Designing in jaipur{ menu}

Monday, 5 January 2015

How to Add Background Music to Your Web Page , How To Embed Sound on a Web Page

If you have a music file (such as an MP3 file) that you want played when a visitor clicks a link, put HTML code like the following on your page:

<embed src="yourmusicfile.mid" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="yourmusicfile.mid" loop="infinite">
</noembed>



This code appears to be compatible with all versions of IE, Netscape and Opera.

No comments:

Post a Comment

Thank's for submitting your comment.