CSS - speak-numeral


Advertisements


Description

The speak-numeral property is used in aural media to specify how to speak numerals (numbers).

Possible Values

  • digits − The numeral is read one number at a time; e.g., "four one two".

  • continuous − The numeral is read in a language-dependent fashion; e.g., "five hundred eleven".

DOM Syntax

object.style.speakNumeral = "digits";

Applies to

All the HTML elements.

Example

Here is the example −

<style type="text/css">
   <!--
   td.phone-no {speak-number: digits;}
   td.price {speak-number: continuous;}
   -->
</style>

For more detail please look into CSS Aural Media.



Advertisements