- Description
- The element <EMBED> is used to download and display the objects (for instance, video files, flash video, some wave files, etc.), which are not understandable by browser initially. Such objects demand the special module connection to the browser, which is called plugin.
- HTML 4.0 specification recommends to use the tag <OBJECT> for external data downloading instead of tag <EMBED>. But some browsers are not display the necessary information, that is why the best variant is to put <EMBED> into the package <OBJECT>.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="..." height="..." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="..." height="...">В </embed></object>
- Parametrs
- Align defines the way of alignment of the object on the page and the way of its floating with text.
- height height of the object.
- hidden defines whether to hide the object on the page or not.
- hspace horizontal indent from the object to the content.
- pluginpage address of the page the plugin can be downloaded and installed from.
- src the way to the file.
- type MIME-type of the object.
- vspace vertical indent from the object to the content.
- width width of the object.
- Closing Tag
- Is optional.
-
The Description of Tag <EMBED> Parameters
- ALINK Parameter
- Description
- Defines the alignment of the object on the page and the way of its displaying with the other underlying elements like text.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="absmiddle | baseline | bottom | left | middle | right" /><embed type="application/x-shockwave-flash" width="100" height="100" align="absmiddle | baseline | bottom | left | middle | right">В </embed></object> ... <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="texttop | top | middle | right" /><embed type="application/x-shockwave-flash" width="100" height="100" align="texttop | top | middle | right"></embed></object>...
- Parametrs
- Absmiddlethe current line middle alignment of the middle of the object.
- Baseline base alignment of the object.
- Bottom bottom alignment of the object.
- Left left alignment of the object, the text floats it from right..
- Middle base alignment of the middle of the object.
- Right right alignment of the object, the text floats it from the left.
- Texttop top alignment to the highest text element of the current line.
- Top top alignment to the highest element of the current line.
- Default value
- Bottom.
- HEIGHT and WIDTH Parameter
- Description
- HEIGHT Parameter defines the height of the object, and WIDTH – its width. Control panel is also included to the size, not only image. That is why type of a file and applied plugin influence on the size of displayed object.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="heght" height="width" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="heght" height="width"></embed></object>... - Optional Parameters
- Yes
- Arguments
- Any positive integer in pixels or percents.
- Default value
- No
- HIDDEN parametr
- Description
- HIDDEN parameter is a switch, which defines whether to display the object or not. It is comfortable for hiding the control panel while playing the background music. If this parameter is defined, the meaning of WIDTH and HEIGHT parameters is ignored.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>... - Arguments
- No
- Default value
- This parameter is disabled by default.
- HSPACE and VSPACE Parameter
- Description
- You can make invisible vertical or horizontal indents for any object with the help of hspace and vspace parameter.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>... - Arguments
- Any positive integer in pixels.
- Default value
- 0
- PLUGINSPAGE Parameter
- Description
- If the browser does not support the indicated type of files, which is set by src parameter, pluginspage is used to follow the indicated address to download and install necessary plugin from. Browser informs the user that there is not necessary plugin for displaying the file and requests whether to download it or not.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>... - Arguments
- Any correct URL (Universal Resource Locator).
- Default value
- 0
- SRC Parameter
- Description
- SRC Parameter indicates the way to the file, which is necessary to download to the browser window. Browser analyzes file extention and decides which plugin or external program are necessary to display the file.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="URL" /><embed type="application/x-shockwave-flash" width="100" height="100" src="URL"></embed></object>... - Arguments
- Full or relative way to the file as a value.
- Default value
- No
- TYPE Parameter
- Description
- Browser couldn’t always identify the type of a file by its extention. You should better indicate its type with the help of type parameter, which defines MIME-type for data.
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>... - Arguments
- The name of MIME-type in any case.
- Default value
- No
- Web forms
- File upload form
- Email form generator
- WordPress contact form


