Quote:
Originally Posted by JSWolf
What is the CSS to change <em> so it's different from <i> when read by TTS but the same visually?
|
Same visually, different in voice:
Code:
i {font-style:italic}
em {
font-style:italic;
voice-stress: moderate;
}
But it could be different:
Code:
em {
font-variant:small-caps;
font-style:normal;
font-family:serif;
color:purple;
text-decoration:underline;
voice-family: female;
voice-pitch: medium;
voice-stress: moderate;
voice-rate: fast;
voice-volume: soft;
pause-after: strong;
voice-balance: left;
}
Of course these are just examples. You can find more in the
CSS Speech Spec (https://www.w3.org/TR/css-speech-1/)
Quote:
Originally Posted by JSWolf
Also, what TTS software reads <em> and <i> differently?
|
Read the other responses in this thread, and the responses in every other thread where you ask this question.