Copyright © tutorialspoint.com

CSS - voice-family

previous next


Description:

The voice-family property is used to define the specific voice, and optionally a generic voice type, which is to be used in the speaking of content.

Possible Values:

Applies to:

All the HTML elements

DOM Syntax:

object.style.voiceFamily="child";

Example:

Here is the example:

<style tyle="text/css">
<!--
h1 { voice-family: announcer, male }
p.part.romeo  { voice-family: romeo, male }
p.part.juliet { voice-family: juliet, female }
-->
</style>

previous next

Copyright © tutorialspoint.com