<emphasis>

<emphasis>

Specifies that the enclosed text should be spoken with emphasis.

Attributes

Name
Data type
Description

level

String

Changes the emphasis of the spoken text. You can specify a preset emphasis: "strong", "moderate" (default value), and "reduced". This attribute is effective for all TTS engines except AT&T.

For information detailing how to use the <emphasis> tag with Polly, see the Polly documentation.

Notes

Example

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        I can say hello with no emphasis.
        Or I can say <emphasis>hello</emphasis> with some oomph.
      </prompt>
    </block>
  </form>
</vxml>

The output of the above script would be:

Computer: I can say hello with no emphasis. Computer: Or I can say HELLO with some oomph.

Child Tags

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

Parent Tags

<audio>, <emphasis>, <enumerate>, <foreach>, <paragraph>, <prompt>, <prosody>, <sentence>, <speak>, <voice>

Last updated