
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <EM>
| Next Tag: <FIELDSET>
|
<EMBED>
Embeds a sound file or other object into a Web page.
Support:
-
Notes:
- Each object embedded in the page must have a corresponding plug-in to handle the object (e.g., play a sound file).
- This tag never made it to the HTML standard. The preferred tag is <OBJECT>
Attributes:
- AUTOSTART
= "Text"
Determines whether a sound file is played automatically when the page loads.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
Notes:
-
Use either TRUE (this is the default value) or FALSE.
- HEIGHT
= Positive integer
Specifies the object's height, in pixels.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
- HIDDEN
= "Text"
Determines whether the object appears on the page.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
Notes:
-
Use either TRUE or FALSE.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
Not supported |
- LOOP
= Positive integer
The number of times the sound file plays.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
Notes:
-
If you feel like torturing your visitors by playing the sound file ad infinitum, use LOOP=INFINITE.
- SRC
= "Text"
The URL of the object.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
- WIDTH
= Positive integer
The object's width, in pixels.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
1.1 and later |
Example:
<EMBED SRC="sonata3.mid" HEIGHT=100 WIDTH=200 LOOP=2 AUTOSTART="FALSE">
</EMBED>
How It Looks:
-
| Index
| Previous Tag: <EM>
| Next Tag: <FIELDSET>
|
|