O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

voice-family

Values:

<voice> [, <voice> ]*

Expansions:

<voice>

<specific-voice> | [ <age>? <generic-voice> <non-negative-number>? ]

<age>

child | young | old

<generic-voice>

male | female | neutral

Initial value:

User agent–dependent

Applies to:

All elements

Inherited:

Yes

Computed value:

Same as declared value

Description:

Defines one or more voice families that can be used in the audio rendering of an element’s content. It is comparable to font-family in that it can be used to supply a list of families, including generic alternatives.

Examples:

body {voice-family: 
     "Karla", "Jenny", young female, female, neutral;}
small {voice-family: male child, child;}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required