HTML and CSS Reference
It is not possible to document all the possible attributes that the many
different plug-ins might need with their associated <embed> tags. In-
stead, you must turn to the plug-in developer to learn about all of their
required and optional attributes for each plug-in that you plan to use in
The browser displays embedded objects to the user in a region set aside
within the document window. The <embed> tag's align , border , height ,
width , hspace , and vspace attributes let you control the appearance of
that region exactly as they do for the <img> tag, so we won't belabor
them. [ <img>, 5.2.6 ]
Briefly, the height and width attributes control the size of the viewing
region. Normally, you should specify the height and width in pixels, but
you may use some other units of measure if you also specify the units
attribute (see section 188.8.131.52 , later in this chapter). The hspace and
vspace attributes define a margin, in pixels, around the viewing region.
The align attribute determines how the browser aligns the region within
surrounding text, and the border attribute determines the width of the
border, if any, surrounding the viewing region.
All the popular browsers support the height , width , and align attributes,
but unlike <applet> or <object> , Internet Explorer does not support bor-
der , hspace , or vspace for the <embed> tag.
184.108.40.206. The hidden attribute
The hidden attribute makes an object invisible to the user, forcing it to
have a height and width of 0. Note that setting hidden does not cause
the browser to display an empty region within the document, but rather
completely removes the object from the containing text flow.