HTML Reference Guide


Tag Index| Content List| HTML FAQ

<EMBED> ... </EMBED> EMBED

Description:

The EMBED element is the method used to integrate Netscape Plug-In technology into a web page. The element has three mandatory attributes [HEIGHT, SRC, and WIDTH] but it is extensible in that it allows any number of additional custom attributes that are dependent on the Plug-In used.

The browser should first try to determine which Plug-In to use based on the file extension of the file in the SRC attribute. If it can not determine what Plug-In to use, it will then query the user to determine what to do.

Attributes:

height - Specifies the height of the embedded component on the screen.

src - Indicates the URL of the multimedia object file.

width - Specifies the width of the embedded component on the screen.

Example code:

<embed SRC="../../cc/html/audio/realaudioclip.rpm" ALIGN="Bottom" WIDTH=40 HEIGHT=20 CONTROLS=StopButton CONSOLE="SoundClip"><noembed> Your browser doesn't support plug-ins! Please <a HREF="../../cc/html/audio/realaudioclip.ram">play this sound clip</a> using a helper application instead.</noembed></embed>

Result:

Your browser doesn't support plug-ins! Please <a HREF="../../cc/html/audio/realaudioclip.ram">play this sound clip</a> using a helper application instead.

See Also: