O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

speak

Values:

normal | spell-out | digits | literal-punctuation | no-punctuation

Initial value:

normal

Applies to:

All elements

Inherited:

Yes

Computed value:

Not specified

Description:

Defines how an element’s contents will be audibly rendered. The value spell-out is typically used for acronyms and abbreviations, such as W3C or CSS. Declaring digits means that numbers are spoken one digit at a time; for example, the number 13 is spoken as “one three.” The value literal-punctuation causes punctuation marks to be spoken literally, as in the words “period” and “semicolon”; no-punctuation causes punctuation to be skipped entirely and no pauses are rendered in their place.

Examples:

abbr {speak: spell-out;}
*.tel {speak: digits;}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required