bgSound element
Associates a background sound with a page.
The bgSound tag allows inserting a sound into the HTML document in Internet Explorer.
If you want to see the HTML tags by categories, please visit this page.
This element cannot have a closing tag.
JavaScript page for this element: bgSound. |
Possible members:
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Example HTML code 1:
This example illustrates the use of the bgSound element:
|
||||
<bgsound src="bell.wav" loop="-1"> |
||||
|
||||
Did you find this example helpful?
|
Example HTML code 2:
Use the object tag for a cross-browser and standardized solution:
|
||||
<object data="bell.wav" type="audio/x-wav" autostart="true" width="100px" height="20px"></object> |
||||
|
||||
Did you find this example helpful?
|
Related pages:
External links:
User Contributed Comments