Learning Resources
embed tag and attributes
The HTML
Attributes:
Attribute | Value | Description |
---|---|---|
align |
left right center |
Specifiies object alignment. |
autostart | number | Indicates if the sound should start automatically. Netscape default is TRUE, Internet Explorer is FALSE. |
controls |
console smallconsole playbutton pushbutton stopbutton volumelever |
Indicates if the sound should start automatically. Netscape default is TRUE, Internet Explorer is FALSE. |
endtime | mm:ss | Indicates spot (minutes and seconds) on track where play is to end. This attribute is available in Netscape only. |
href | URL | Converts sound control file into URL. This attribute is available in IE only |
loop | number | Specifies if the sound should be played continuously (set loop to TRUE), a certain number of times (a positive value) or not at all (FALSE). This attribute is available in Netscape only. |
playcount | number | Specifies the number of times to play the sound. This attribute is available in IE only. |
pluginspace | URL | Location of software necessary to install the plugin file. Only needed if the plugin is not a standard one.This attribute is available in Netscape only. |
pluginurl | URL | Location of software necessary to play the sound file. Only needed if the plugin is not a standard one. This attribute is available in Netscape only. |
starttime | mm:ss | Indicates spot (minutes and seconds) on track where play is to start. This attribute is available in Netscape only. |
target | URL | Converts sound control file into URL. This attribute is available in IE only. |
volume | number | Controls volume of the sound. Can be from 0 (off) to 100 (full volume). This attribute is available in Netscape only. |
hidden | true or false | Defines if the object shows on the page. FALSE means no and TRUE means yes. |
height | number | Height of the object in pixels or en. |
name | name | A name used to reference the object. |
src | URL | URL of the object to be embedded. This can be any recognized (by the client system) sound file (.midi, .wav and so on). |
units | X | Indicates how to measure the units -> pixels or en. Default is in pixels |
width | number | Width of the object in pixels or en. |