<BGSOUND...>
BALANCE
="-10000 - 10000"
CLASS
="Style Sheet Class"
ID
="Unique Identifier"
LANG
="Language descriptor"
LANGUAGE
="Scripting Language descriptor"
LOOP
="Number|-1|infinite"
SRC
="URL"
STYLE
="Style Sheet Setting"
TITLE
="Title of element"
VOLUME
="-10000 - 0"
>
Embeds and plays a sound file when the document is opened.
Attribute | Description |
BALANCE |
Specifies the stero separation for the audio file. |
CLASS |
Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element. |
ID |
Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector. |
LANG |
Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation. |
LANGUAGE |
Sets the scripting language that any in-line scripting events are written in. |
LOOP |
Depending on the setting of the LOOP attribute, the background sound will play a certain number of times, or indefinitely ('-1', or 'infinite'). |
SRC |
Specifies the URL of the sound file to be played. |
STYLE |
Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document. |
TITLE |
Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers. |
VOLUME |
Sets the volume at which the sound file is to be played. VOLUME="0" will play the sound file at the maximum volume currently allowed by the users settings. |
See 'HTML Reference|Media Embedding|<BGSOUND>' for more information.