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>
Updated on: 2020-06-27T12:15:14+05:30

76 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements