CSS cue-before Property



This property specifies a sound to be played before speaking an element's content to delimit it from other. The possible values are −

  • url − The URL of a sound file to be played.
  • none − Nothing has to be played.

Example

You can try to run the following code to implement cue-before property in CSS

<style>
   <!--
   a {cue-before: url("bell.aiff");}
   h1 {cue-before: url("pop.au"); }
   -->
</style>

Advertisements