CSS speak-punctuation property

CSS speak-punctuation property

Description

Use the speak-punctuation property in auditory media to specify how punctuation marks (such as commas) are spoken.

Possible values

  • code – Punctuation marks are spoken directly; for example, “In closing, I feel that” is spoken as “In closing comma I feel that.”
  • none – Punctuation will be rendered as pauses of varying lengths.


DOM Syntax

object.style.speakPunctuation = "code"; 

Apply to Objects

Applies to all HTML elements.

Example

The following is an example:

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

For more details, see CSS Aural Media.

Leave a Reply

Your email address will not be published. Required fields are marked *