You are here: Reference > CSS > properties > browser specific extensions > -op-voice-volume

-op-voice-volume property | -xv-voice-volume property

Browser support:
-op-voice-volume:
-xv-voice-volume:
Sets the volume of a spoken element.
Same as the voice-volume property in the CSS3 declaration.
The -op-voice-volume and -xv-voice-volume properties are equivalent in Opera.
JavaScript page for this property: opVoiceVolume | XvVoiceVolume. You can find other example(s) there.

Possible values:

 One of the following values: 
inherit
Takes the value of this property from the computed style of the parent element.
loud
Same as '75'.
louder
Relatively louder volume.
medium
Same as '50'.
silent
No sound at all.
soft
Same as '25'.
softer
Relatively softer volume.
volume (integer [0-100])
Integer between 0 and 100.
volume in percentage
The volume is the specified percentage of the inherited voice-volume value.
x-loud
Same as '100'.
x-soft
Same as '0'.
Default: medium.

Example HTML code 1:

This example illustrates the use of the -xv-voice-volume property:
<head>
    <style>
        .example {
            -xv-voice-volume: loud;
        }
    </style>
</head>
<body>
    Normal volume.
    <p class="example">Sets the volume to loud.</p>
    Select the text in the document, right click and select speak
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content