voice-family
Definition
The voice-family property is a comma-separated, prioritized list of voice family names. For example, a designer might use this property to indicate to a user agent, such as a browser, that certain portions of text should be read by a female voice.
Example
h1 {voice-family: announcer, male}p.part.romeo {voice-family: romeo, male}p.part.juliet {voice-family: juliet, female}
Characteristics
Possible values
- Values can be generic voice families. Possible values are
male, female, and child. - Values can be specific voice names. Possible values depend on user agents and may include
announcer, comedian, sam, mary, etc. inherit- Use the same computed value as the parent element for this property.
Default value
Depends on Web browser
Applies to
All elements
Inherited
Yes
See also