You are here:  NetStrider » Tutorials » HTMLRef » Commands » SOUND «

HTML Reference Guide

Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK <SOUND> Command next

Command Syntax:

<SOUND command parameters>

Plays a background .WAV sound file on the page.

The command is only supported by the Mosaic browser.

See also:  <EMBED>, <BGSOUND>

Command Parameters:

src="URL"

Defines the URL at which the .WAV sound file can be found by the browser.

delay="integer"

Defines the numberof seconds delay, expressed as an integer, before the sound file should play. 

loop="integer|infinite"

Where

  • an integer -
    defines the number of times the sound file should replay.  ( An integer value of -1 is equivalent to value infinite. )

  • infinite -
    causes the sound file to replay continuously.
     
Example:

<SOUND src="entertainer.wav" loop="infinite">

  • Loads the sound file entertainer.wav.

  • Plays the sound file continuously.

  • The sound file will replay if the page is reloaded.

  • The host file server on which the HTML code is mounted must be MIME encoding the audio file type .WAV.
Return to Section S:Z


Return to the List of Commands
Author: Randy D. Ralph.  In place March 1, 1999.  Copyright © 1999 NetStrider.  World Rights reserved.




Hosted by uCoz