Links
Home
Email
<EMBED>
Description:
The easiest and "most supported" way to add video or sound to your web site is to include the special HTML tag called EMBED. This causes the browser itself to include controls for the multimedia. No ActiveX, Java, VBscript or JavaScript is needed for this method.This tag is one-sided, meaning that there is no </EMBED> tag. Multimedia elements included in this manner appear on their own line and are centered on the page.
It's also a good idea to include the <NOEMBED> tag to support browsers which don't recognize the <EMBED> tag. You could, for example, use <EMBED> to display a movie of a dog, and <NOEMBED> to display a single JPG frame. The <NOEMBED> tag requires the </NOEMBED> tag.
The <EMBED> tag causes a control panel to be displayed. This appears as follows:

Attributes:
| align=alignment | |||||||||||||||||||||
Determines how to align the object. May have the
following values:
|
|||||||||||||||||||||
| "browser specific parameter"=value | |||||||||||||||||||||
Any number of browser specific parameters which are needed by
the embedded object.
|
|||||||||||||||||||||
| hidden="value" | |||||||||||||||||||||
| Defines if the object shows on the page. FALSE means no and TRUE means yes. | |||||||||||||||||||||
| height="n" | |||||||||||||||||||||
| 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.
|
|||||||||||||||||||||
| width="n" | |||||||||||||||||||||
| Width of the object in pixels or en. | |||||||||||||||||||||
| "optional parameter"=value | |||||||||||||||||||||
| Any number of optional parameters which are needed by the embedded object. These are totally dependant upon what's required by the object itself. | |||||||||||||||||||||
Examples:
| <EMBED SRC="mymovie.mov" WIDTH=100 HEIGHT=100> |
This command embeds the movie "mymovie.mov" at the current location with a window which is 100 by 100 pixels.
Internet Tips Contents
404 Errors
Advertising
Autoresponse
Awardmaster
Basics
Browsers
Careers
Chatting
Disasters
Domains
Email
Emoticons
Ezines
Free Stuff
Fun Stuff
FTP
Graphics
Homepages
HTML Reference
HTML Tutorial
Interactive
Legal
Links
Msg Boards
Microsoft
Money
Multimedia
Networks
Newsgroups
Newsletter
Products
RFC's
Ringmaster
Searches
Security
Sticky Sites
Surfing
TANSTAAFL
Telnet
Viral
Webmaster
Your System