Copyright © tutorialspoint.com

CSS - cue-before

previous next


Description:

The cue-beofre property is used in audio devices to play a sound before an element.

Possible Values:

Applies to:

All the HTML elements.

DOM Syntax:

object.style.cueBefore=url("music.wav");

Example:

Here is the example:

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

previous next

Copyright © tutorialspoint.com