Copyright © tutorialspoint.com

CSS - play-during

previous next


Description:

The play-during property defines a sound to be played while rendering the element's content. This sound is also known as a "background sound."

Possible Values:

DOM Syntax:

object.style.playDuring="mix";

Applies to:

All the HTML elements

Example:

Here is the example:

<style tyle="text/css">
<!--
h1 {play-during: url(ocean-waves.wav) mix repeat;}
a:link (play-during: none;}
-->
</style>

For more detail please look into CSS Aural Media.


previous next

Copyright © tutorialspoint.com