HTML and CSS Reference
In-Depth Information
src This attribute specifies the URL of the sound file to be played, which must be one of
the following types: .wav , .au , or .mid .
volume This attribute defines a number between -10,000 and 0 that determines the
loudness of a page's background sound. Oddly, 0 is full volume and -10,000 is none.
<!-- assume examples are in different pages -->
<bgsound src="sound1.mid">
<bgsound src="" loop="infinite">
<bgsound src="sound3.wav" loop="3" volume="-2000">
No standards support
Internet Explorer 2+, Opera 4+
• Similar functionality can be achieved in older versions of Netscape using the
<embed> tag to invoke an audio player as well as using HTML5's <audio> tag in
supporting browsers.
• You could write bgsound with a self-closing tag <bgsound /> . However, since this
element is not part of a standard, making it XHTML-like will not make it validate.
<big> (Big Font)
This inline element indicates that the enclosed text should be displayed in a larger font
relative to the current font.
Standard Syntax
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="off | on" (5.5)
Search WWH ::

Custom Search