• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

21.9. voice-family Property

Using the voice-family property, you can actually set the “sex” of a speaking voice. Not only can you set a generic sex value to the voice, but you can also add specific voices if they are supported by your browser.

The voice-family property can take any of four specific named values: male, female, child and inherit. It can also take a specific predefined voice name whose vocal characteristics have previously been set. It is the vocal equivalent of the font-family property, allowing Web authors to set several values for a voice; the first value that matches what is available on the browser is the one that is used.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint