Home > Articles > Web Development

This chapter is from the book

Adding Background Sound

You can introduce background sounds to accompany and enhance your Web page. There’s nothing like hearing a favorite tune when you enter a site or visit a particular page. The sound can be played continuously in a loop, or you can set it for a desired number of plays. Be aware that not all browsers support background sound.

Add a Background Sound to a Web Page

  • yelllow01.jpg Open and display the Web page you want to use.
  • yelllow02.jpg Right-click the page to which you want to add a background sound, and then click Page Properties.
  • yelllow03.jpg If necessary, click the General tab.
  • yelllow04.jpg Type the sound file name or click Browse, locate and select the sound file you want to use, and then click Open.
  • yelllow05.jpg To set the sound to repeat continuously, clear the Forever check box, and then click the number arrows in the Loop box to set the number of times you want the sound to play.
  • yelllow06.jpg Click OK.

    Whenever a visitor opens the page, they will hear the sound effect you chose.

  • + Share This
  • 🔖 Save To Your Account