CSS - speech-rate


Description:

The speech-rate property is used to declare the rate at which text is spoken.

Possible Values:

  • number: Define the average number of words spoken per minute.
  • x-slow:Equivalent to 80 words per minute.
  • slow: Equivalent to 120 words per minute.
  • medium: Equivalent to 180-200 words per minute.
  • fast: Equivalent to 300 words per minute.
  • x-fast: Equivalent to 500 words per minute.
  • faster: Adds 40 words per minute to the current value of speech-rate.
  • slower: Subtracts 40 words per minute to the current value of speech-rate.

DOM Syntax:

object.style.speechRate="medium";

Applies to:

All the HTML elementsHTML

Example:

Here is the example:

<style tyle="text/css">
<!--
em {speech-rate: slower;}
div.legalese {speech-rate: fast;}
h1 {speech-rate: 90;}
-->
</style>
     





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