Name
<embed> — NN: 2, 3, 4 • MSIE: 2, 3, 4, 5 • HTML 4 • WebTV • Opera3
Synopsis
<embed>...</embed>
Embeds an object into the web page. Embedded objects are most often
multimedia files that require special plug-ins to display. Specific
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. The
<embed> tag was dropped by the HTML 4.0
Specification in favor of <object> for
adding multimedia elements to pages.
Attributes
align=left|right|top|bottomNavigator 4.0 and Internet Explorer 4.0 only. Controls the alignment of the media object relative to the surrounding text. Top and bottom are vertical alignments. Left and right position the object on the left or right margin and allow text to wrap around it.
height=numberSpecifies the height of the object in number of pixels. Some media types require this attribute.
hidden=yes|noHides the media file or player from view when set to yes.
hspace=numberNavigator 4.0 and Internet Explorer 4.0 only. Used in conjunction with the
alignattribute, this attribute specifies in number of pixels the amount of space to leave clear to the left and right of the media object.name=nameSpecifies a name for the embedded object. This is particularly useful for referencing the object from a script.
palette=foreground|backgroundNavigator 4.0 and Internet Explorer 4.0 only. This attributes applies to the Windows platform ...
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