SOUND

Text Images Links Lists Tables
Frames Forms Style Sheets Scripts Links to Other Pages




SOUND TAGS


The following tags will be covered in this tutorial:


<EMBED> : EMBEDding the console (see Example 2, Page 3) into a web page.

<META> : Provides information about the contents of your HTML document to clients/servers. Used within the <HEAD> tag.




<EMBED> TAG


Attributes:

AUTOSTART= true, false
Play (true) or don't play (false) music when a web page is loaded.

CONTROLS= console, smallconsole, playbutton, pausebutton, stopbutton, volumelever
Specifies controls on the console.

HIDDEN= true, false
Hide (true) or don't hide (false) the console on a web page.

LOOP= number, true
number: number of times the music will play.
true: the music will play repeatedly until either the stop button is pressed or else the visitor loads another web page.

SRC= "URL"
Address of a sound file to be played.

VOLUME= number, %
Volume of music, specified as either a number between 1 and 100 (default 50) or as a percentage between 1% and 100% (default 50%).

WIDTH/HEIGHT= number
Size of the console in pixels.




<META> TAG


This tag embeds information about the HTML document.

Main Attributes:

NAME= "text" (Names a property)

CONTENT= "text" (Supplies a value to a named property)

HTTP-EQUIV= "text" (Binds the <META> tag to an HTTP response header)

Page 2   Page 3



Home    Site Map    Assumptions    Introduction    Tools    Resources    Contact