Welcome to W3Courses
 Like Us on Facebook

Background Sound

Adding Background Sound or Music in Html Page

Background sound or music can be added in a html programming using the following code

<bgsound src="path/filename.wav">

Looping for a number of times.
Replace n with a number

<bgsound src="path_to_file/filename.wav" loop="n">

Looping infinite times

<bgsound src="path_to_file/filename.wav" loop="infinite">