You are here: Reference > HTML > attributes > balance (bgsound)

balance attribute (bgsound)

Browser support:
Specifies how the volume will be divided between the left and right speakers.
JavaScript page for this attribute: balance. You can find other example(s) there.

Possible values:

Integer between -10,000 and +10,000. Default:0. Negative values mean the left speaker is dominant, positive values mean the right speaker is dominant.
Default: 0.

Example HTML code 1:

This example illustrates the use of the balance attribute:
<bgsound src="budgie.wav" loop="-1" balance="10000">
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content