volumeNN n/a IE n/a CSS 2

Inherited: Yes

For aural style sheets, this sets the dynamic range (softness/loudness) of the spoken element. Because normal speech has inflections that prevent an absolute volume to apply at all times, the volume attribute sets the median volume.

 
CSS Syntax
 
volume: number  | percentage  | volumeConstant
 
Value

A volume number value is any number. A value of zero should represent the minimum audible level for the equipment and ambient noise environment; a value of 100 should represent the maximum comfortable level under the same conditions. A percentage value is calculated relative to the parent element's volume attribute setting. Alternative settings include the following constants (and their representative values): silent (no sound) | x-soft (0) | soft (25) | medium (50) | loud (75) | x-loud (100).

 
Initial Value

medium

 
Applies To

All elements.