|
<bgsound Adds background sounds or "soundtracks" to a page. Sounds can be either samples (wav or au format) or midi format. This tag works in Internet Explorer but not in Netscape. It doesn’t appear in the HTML 4.0 specification. Attributesbalance=value Changes the stereo balance when the sound file plays. Enter a value between -10000 and 10000. The effect of the two extreme values depends on the sound settings on the users system, but using either of the extreme values will force the sound to play from one speaker only. class=type Indicates the class to which the tag belongs. You can use the class attribute in a style sheet to create different styles that you want apply to a single HTML tag. For example, you might create three different styles for a <bgsound> tag. See Using the class attribute as a selector for more details. dir=ltr|rtr Specifies the direction of text. This can be left-to-right (ltr) or right-to-left (rtl). For example, English characters are presented left-to-right, Hebrew characters are presented right-to-left. id=value Specifies a unique name for the tag. No two tags can have the same id on a single page. The value must begin with a letter followed by any alphanumeric character, a hyphen, an underscore, a colon or a full stop. You use it to reference a unique style for a tag or to manipulate the tag with a script. lang=language Specifies which language the <bgsound> tag uses. You can enter any valid ISO standard language abbreviation, for example, “en” for English, “de” for German and so on. For example, <span lang="es">hola! como esta?</span>. This attribute helps search engines understand different languages as different languages rather than just misspelled English. It may also help spelling and grammar checkers and allow speech synthesizers to use language-dependent pronunciation rules. Specifies how many times you want to play a sound. If you set the loop attribute to either -1 or infinite, the sound plays over and over again. In fact, it plays as long as the page is open. Specifies the address of the sound file. title=text For information only. Some browsers display the title when you move the mouse over the tag (like a tool tip). volume=value Sets the volume at which the sound file plays. Enter a value between -10000 and 0. Note: that the maximum volume (a value of 0) plays the sound file at 100% of the current volume setting on the PC. |
More information |