Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class
<bgsound> Description:
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..
<bgsound> Web Browser Support:
- Internet Explorer 2, 3, 4, 5, 6, 7
<bgsound> Attributes:
All attributes are optional unless indicated.
<bgsound> End Tag:
None. </bgsound> is a singleton tag.
<bgsound> Contents:
None
<bgsound> Valid Context:
The <bgsound> tag is valid within the following tags:
head
<bgsound> Usage:
- never-ending sound
<bgsound src=\"soundfile.wav\" loop=\"infinite\">
- sound file repeats twice
<bgsound src=\"soundfile.wav\" loop=\"2\">
<bgsound> Special Notes:
- 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.
More <bgsound> Information:
< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class