< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class
Place music or another sound file in the background of a page. This element is not part of the HTML 4.0 or XHTML 1.0 specification..
- Internet Explorer 2, 3, 4, 5, 6, 7
None
The <bgsound> tag is valid within the following tags:
head
- never-ending sound
<bgsound src=\"soundfile.wav\" loop=\"infinite\">
- sound file repeats twice
<bgsound src=\"soundfile.wav\" loop=\"2\">
- It is strongly recommended that you avoid use of this tag. It is not part of the HTML/XHTML specification, and may not be supported in future versions of the Internet Explorer browser.
- The bgsound tag doesn't allow your readers to turn off the music.
- Remember that what sounds wonderful to you can be very annoying to someone else, and your music may drive away otherwise repeat customers.

