Home  >  Article  >  Web Front-end  >  CSS voice-family property

CSS voice-family property

WBOY
WBOYforward
2023-09-04 18:49:02875browse

CSS voice-family 属性

The value is a comma-separated, prioritized list of phonetic last names. It can have the following values ​​

  • generic-voice − The value is the voice series. Possible values ​​are "Male", "Female", and "Child".
  • Specific Sound - Value is a specific instance (e.g. comedian, trinoids, carlos, lani).

Example

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

<style>
   <!--
      h1 { voice-family: announcer, male }
      p.part.romeo { voice-family: romeo, male }
      p.part.juliet { voice-family: juliet, female }
   -->
</style>

The above is the detailed content of CSS voice-family property. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete