Name
<embed> — NN 2, 3, 4, 6 MSIE 3, 4, 5, 5.5, 6 WebTV Opera5
Synopsis
<embed>...</embed>
Embeds an object into the web page. Embedded objects are most often multimedia files that require special plug-ins to display (for example, Flash movies, Quicktime Movies, etc.). In addition to the standard attributes listed below, certain media types and their respective plug-ins may have additional proprietary attributes for controlling the playback of the file. The closing tag is not always required, but is recommended.
Attributes
-
align=left|right|top|bottom NN 4.0+ and MSIE 4.0+ only. Controls the alignment of the media object relative to the surrounding text. The default is
bottom.topandbottomare vertical alignments.leftandrightposition the object on the left or right margin and allow text to wrap around it.
-
height=number Specifies the height of the object in number of pixels. Some media types require this attribute.
-
hidden=yes|no Hides the media file or player from view when set to
yes. The default isno.
-
name=name Specifies a name for the embedded object. This is particularly useful for referencing the object from a script.
-
palette=foreground|background NN 4.0+ and MSIE 4.0+ only. This attribute applies to the Windows platform only. A value of
foregroundmakes the plug-in’s palette the foreground palette. Conversely, a value ofbackgroundmakes the plug-in use the background palette; this is the default.
-
pluginspage=url NN 4.0+ and MSIE 4.0+ only. Specifies the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access