Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - speak


previous next AddThis Social Bookmark Button


Advertisements

Description:

The speak property is used to specify that the text will be used for aural media. It also specifies how it will be spoken, for example normal or spelt out.

Possible Values:

  • normal: Directs the user agent to speak the text using the pronunciation rules for that element and its children.
  • none: Prevents the element from being spoken.
  • spell-out: Causes the user agent to speak the text one letter at a time, which is useful for speaking acronyms.

DOM Syntax:

object.style.speak="spell-out";

Applies to:

All the HTML elements

Example:

Here is the example:

<style tyle="text/css">
<!--
acronym {speak: spell-out;}
*.hidden {speak: none;}
-->
</style>

For more detail please look into CSS Aural Media.



previous next Printer Friendly

Advertisements


  

Advertisements