age-declarations-001.html (984B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: voice-family age keywords</title> 5 <link rel="author" title="John Foliot" href="mailto:john@foliot.ca"> 6 <link rel="author" title="Katherine Mancuso" href="mailto:kmancuso@gmail.com"> 7 <link rel="author" title="Ryan Eilders" href="mailto:ryaneilders@gmail.com"> 8 <link rel="help" href="http://www.w3.org/TR/css3-speech/#voice-props-voice-family"> 9 <meta name="flags" content="speech"> 10 <meta name="assert" content="The child, young, and old values of voice-family render the text in child, young, and old voices, respectively."> 11 12 13 <style> 14 p.child { voice-family: child; } 15 p.young { voice-family: young; } 16 p.old { voice-family: old; } 17 18 </style> 19 20 </head> 21 <body> 22 23 <p class="child">This sentence should be read in a child's voice.</p> 24 <p class="young">This sentence should be read in a young voice.</p> 25 <p class="old">This sentence should be read in a old voice.</p> 26 27 </body> 28 </html>