Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - speech-rate


previous next AddThis Social Bookmark Button


Advertisements

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>

For more detail please look into CSS Aural Media.



previous next Printer Friendly

Advertisements


  

Advertisements