"emphasis" Element

Description

Reads text with emphasis (also referred to as prominence or stress).

Syntax

<emphasis
 level = "strong" | "moderate" | "none" | "reduced">
 text
</emphasis>

Attributes

AttributeDescription
levelStrength of the emphasis. Default is "moderate". Optional field.

Parent

<audio>, <emphasis>, <p>, <prosody>, <s>, <speak>, <voice>

Children

<audio>, <break>, <emphasis>, <mark>, <phoneme>, <prosody>, <say-as>, <sub>, <voice>

Limitations/Restrictions

The strength of the emphasis is controlled by modifying the volume of the synthesized speech.

Example

<?xml version="1.0"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
 http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
 xml:lang="en-US">

 That is a <emphasis> big </emphasis> car!
 That is a <emphasis level="strong"> huge </emphasis>
 bank account!
</speak>

Was this article helpful?