CSS VOICE-FAMILY

This property indicates a comma-separated, prioritized list (left to right in decreasing priority) of specific and/or generic voice family names. At least one specific or general voice family must be given and it is wise to include a generic voice family as well in case the user does not have any of the specific voices listed. If no match is made, the browser default voice family should be used.

Example
1
2
3
strong {
  voice-family: "Bob Barker", "Monty Hall", male
}
1
2
3
<strong style="voice-family: 'Bob Barker', 'Monty Hall', male">
  Some Text
</strong>

Possible Values

inherit: Explicitly sets the value of this property to that of the parent.
male, female, child: These indicate a generic family of voices, of which any specific voice can be grouped under.
[specific voice]: This value is a string identifying a specific voice on the user’s system. Names containing whitespace should be quoted.