CSS speak property
CSS speak Property
Description
The speak property specifies that text is intended for speech media. It also specifies how the text should be spoken, such as normally or spelled out.
Possible Values
- normal – Causes the user agent to speak the text using the pronunciation rules for the element and its children.
-
none – Prevents the element from being spoken.
-
spell-out – Instructs the user agent to read text verbatim. This is useful for reading abbreviations.
DOM Syntax
object.style.speak = "spell-out";
Applicable Scope
Applies to all HTML elements
Example
Here is an example:
<style type = "text/css">
<!--
acronym {speak: spell-out;}
*.hidden {speak: none;}
-->
</style>