How to Add Background Audio to My Web Page

How to Add Background Audio to My Web Page thumbnail
Your web page can play audio files

As HTML code becomes more advanced with newer versions and web browsers evolve, web pages are capable of providing more media and information. The ability to add background audio to a web page has been around for a while but people often don't add background sound to a page because it scares many visitors away. If you are sure background music is right for your site, it can be done quickly.

Instructions

    • 1

      Open the web page with an editor of any kind, including even a text editor such as MS WordPad.

    • 2

      Create the following code right after the "<head>" section of the web page,
      "<embed src="yourmusic.mid"> <noembed> <bgsound src="yourmusic.mid"> </noembed>." The listing for yourmusic.mid should be replaced with the name of your audio file. This can include more than just midi files. Save the file and upload it back to your site.

    • 3

      Upload the audio file to the root directory of your website.

      If you want to use a file that resides somewhere else type the path in front of the file name, such as "<embed src=" http://mymusicsite.com/yourmusic.mid"."

Related Searches:

References

  • Photo Credit radio image by Frank-Peter Funke from Fotolia.com

Comments

You May Also Like

Related Ads

Featured