Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - cue-before


previous next AddThis Social Bookmark Button


Advertisements

Description:

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

Possible Values:

  • none: No media file
  • URI: Location of media file.

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 Printer Friendly

Advertisements


  

Advertisements