CSS - speak-punctuation


Advertisements


Description

The speak-punctuation property is used in aural media to specify how punctuation (i.e. comma) should be spoken.

Possible Values

  • code − Punctuation is spoken literally; e.g.,In closing, I fee that will be read as "In closing comma I feel that".

  • none − Punctuation is rendered as pauses of various length.

DOM Syntax

object.style.speakPunctuation = "code";

Applies to

All the HTML elements.

Example

Here is the example −

<style type="text/css">
   <!--
   *.literal {speak-punctuation: code;}
   body {speak-punctuation: none;}
   -->
</style>

For more detail please look into CSS Aural Media.



Advertisements