Name

<embed> — NN 2, 3, 4, 6 MSIE 2, 3, 4, 5, 5.5, 6 HTML 4.01 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. This tag is nonstandard.

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. 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= 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 is no.

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 foreground makes the plug-in’s palette the foreground palette. Conversely, a value of background makes the plug-in use the background palette; this is the default.

pluginspage= url

NN 4.0+ ...

Get HTML Pocket Reference, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.