CSS cue-before property
CSS cue-before Property
Description
The cue-before property is used to play a sound before an element and is primarily used by audio devices.
Possible Values
- none − No media file.
-
URI − The location of a media file.
Applies to
All HTML elements.
DOM Syntax
object.style.cueBefore = url("music.wav");
Example
This is an example –
<style type = "text/css">
<!--
a {cue-before: url("bell.aiff");}
h1 {cue-before: url("pop.au"); }
-->
</style>