CSS - voice-family


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:

  • specific-voice: Any specific voice name may be declared for the voice, although those voice names with whitespace or other special characters in their names should be quoted.
  • generic-voice: The permitted generic voice family values are male, female, and child.

Applies to:

All the HTML elements

DOM Syntax:



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 }

Spacer Bottom Left Corner ImageBottom Right Corner Image
Valid XHTML 1.0 Strict  Valid CSS! Check the accessibility of this site according to U.S. Section 508