📄 css_ref_aural.asp@output=print
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS2 Aural Reference</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>CSS2 Aural Reference</h1>
<a href="css_ref_print.asp"><img border="0" src="../images/btn_previous.gif" alt="Previous" width="100" height="20" /></a>
<a href="css_units.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<h2>Aural Style Sheets</h2>
<p>Aural style sheets use a combination of speech synthesis and sound effects to
make the user listen to information, instead of reading information.</p>
<p>Aural presentation can be used:</p>
<ul>
<li>by blind people</li>
<li>to help users learning to read</li>
<li>to help users who have reading problems</li>
<li>for home entertainment</li>
<li>in the car</li>
<li>by print-impaired communities</li>
</ul>
<p>The aural presentation converts the document to plain text and feed this to a
screen reader (a program that reads all the characters on the screen).</p>
<p>An example of an Aural style sheet:</p>
<table width="100%" class="ex" cellspacing="0" border="1">
<tr>
<td>
<pre>h1, h2, h3, h4
{
voice-family: male;
richness: 80;
cue-before: url("beep.au")
}</pre>
</td>
</tr>
</table>
<p>The example above will make the speech synthesizer play a sound, then speak
the headers in a very rich male voice.</p>
<hr />
<h2>CSS2 Aural Reference</h2>
<p>
<b>W3C:</b> The number in the "W3C" column indicates in which CSS recommendation
the property is defined (CSS1 or CSS2).</p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th width="25%" align="left">Property</th>
<th width="30%" align="left">Description</th>
<th width="38%" align="left">Values</th>
<th width="7%" align="left">W3C</th>
</tr>
<tr>
<td valign="top">azimuth</td>
<td valign="top">Sets where the sound/voices should come from (horizontally)</td>
<td valign="top"><i>angle</i><br />
left-side<br />
far-left<br />
left<br />
center-left<br />
center<br />
center-right<br />
right<br />
far-right<br />
right-side<br />
behind<br />
leftwards<br />
rightwards</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">cue</td>
<td valign="top">A shorthand property for setting the cue-before and
cue-after properties
in one declaration</td>
<td valign="top"><i>cue-before<br />
cue-after</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">cue-after</td>
<td valign="top">Specifies a sound to be played after speaking an element's
content to delimit it from other</td>
<td valign="top">none<br />
<i>url</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">cue-before</td>
<td valign="top">Specifies a sound to be played before speaking an element's
content to delimit it from other</td>
<td valign="top">none<br />
<i>url</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">elevation</td>
<td valign="top">Sets where the sound/voices should come from (vertically)</td>
<td valign="top">angle<br />
below<br />
level<br />
above<br />
higher<br />
lower </td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">pause</td>
<td valign="top">A shorthand property for setting the pause-before and
pause-after properties
in one declaration</td>
<td valign="top"><i>pause-before<br />
pause-after</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">pause-after</td>
<td valign="top">Specifies a pause after speaking an element's content</td>
<td valign="top"><i>time<br />
%</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">pause-before</td>
<td valign="top">Specifies a pause before speaking an element's content</td>
<td valign="top"><i>time<br />
%</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">pitch</td>
<td valign="top">Specifies the speaking voice</td>
<td valign="top"><i>frequency</i><br />
x-low<br />
low<br />
medium<br />
high<br />
x-high </td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">pitch-range</td>
<td valign="top">Specifies the variation in the speaking voice. (Monotone
voice or animated voice?)</td>
<td valign="top"><i>number</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">play-during</td>
<td valign="top">Specifies a sound to be played while speaking an element's
content</td>
<td valign="top">auto<br />
none<br />
<i>url</i><br />
mix<br />
repeat</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">richness</td>
<td valign="top">Specifies the richness in the speaking voice. (Rich voice
or thin voice?)</td>
<td valign="top"><i>number</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">speak</td>
<td valign="top">Specifies whether content will render aurally</td>
<td valign="top">normal<br />
none<br />
spell-out</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">speak-header</td>
<td valign="top">Specifies how to handle table headers. Should the headers
be spoken before every cell, or only before a cell with a different header
than the previous cell</td>
<td valign="top">always<br />
once<br />
</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">speak-numeral</td>
<td valign="top">Specifies how to speak numbers</td>
<td valign="top">digits<br />
continuous</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">speak-punctuation</td>
<td valign="top">Specifies how to speak punctuation characters</td>
<td valign="top">none<br />
code</td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">speech-rate</td>
<td valign="top">Specifies the speed of the speaking</td>
<td valign="top"><i>number</i><br />
x-slow<br />
slow<br />
medium<br />
fast<br />
x-fast<br />
faster<br />
slower </td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">stress</td>
<td valign="top">Specifies the "stress" in the speaking voice</td>
<td valign="top"><i>number</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">voice-family</td>
<td valign="top">A prioritized list of voice family names that contain
specific voices</td>
<td valign="top"><i>specific-voice<br />
generic-voice</i></td>
<td valign="top">2</td>
</tr>
<tr>
<td valign="top">volume</td>
<td valign="top">Specifies the volume of the speaking</td>
<td valign="top"><i>number<br />
</i><i>%<br />
</i>silent<br />
x-soft<br />
soft<br />
medium<br />
loud<br />
x-loud </td>
<td valign="top">2</td>
</tr>
</table>
<hr />
<a href="css_ref_print.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="css_units.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -