Audio File Attributes

Element Attributes

Description

EMBED="..."
OBJECT="..."
A HREF="..."
Places an embedded object into the page.Object is replacing embed element.Link to the file
Link to a file on the server
ALIGN="..."The object's position: left, right, center,top, and bottom
HEIGHT=".."Indicates object's vertical dimensions
WIDTH=".."The object's horizontal dimensions.
SCR=".."Indicates embedded file's name and path.
AUTOSTART=".."Specifies the starts value; True or False
LOOP=".."Indicates the number to times to play. Values = true or # of times.
BGSOUND=".."Embeds a background sound that begins when page is loading; codes placed in the head.
CONTROLS=".." CONTROLLER=".." Displays control buttons. Values hidden, true or false; Stop, play, rewind buttons
TYPE=".."The MIME specifies the type embedded; type="video/quicktime"
Link to file:

Applude [sound 224K] <a href="sounds/applaude.wav" height="100" width="100" type="video/quicktime" />Applaude [sound 224k]</a>

Embed file:

<embed src="sounds/applaude.wav" type="video/quicktime" height="30px" width="150px" controls="true" controller="true" autostart="false">

Web Design with XHTML Part I Doris Cuffey,Instructor