CSS voice-family Property

CSSWeb DevelopmentFront End Technology

The value is a comma-separated, prioritized list of voice family names. It can have following values

  • generic-voice − Values are voice families. Possible values are 'male', 'female', and 'child'.
  • specific-voice − Values are specific instances (e.g., comedian, trinoids, carlos, lani).

Example

You can try the following code to implement voice-family property −

<style>
   <!--
      h1 { voice-family: announcer, male }
      p.part.romeo { voice-family: romeo, male }
      p.part.juliet { voice-family: juliet, female }
   -->
</style>
raja
Published on 27-Apr-2018 12:10:40
Advertisements