You are here: Reference > HTML > attributes > archive (applet, object)

archive attribute (applet, object)

Browser support:
Sets a space-separated list of URLs for archive files.
There isn't any functionality implemented for this attribute in commonly used browsers.
JavaScript page for this attribute: archive. You can find other example(s) there.

Possible values:

String that sets a space-separated list of URLs.
An URL can be an absolute or relative path as well. If a relative path is used and the codeBase attribute of the object is specified, then the relative path is relative to the value of this attribute, else the relative path is relative to the base URL. The base URL is the location of the current document, but it can be overridden by the base tag.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the archive attribute with Macromedia Flash Player.
It clearly focuses on cross-browser support only, and it isn’t standards-compliant, but there isn't any standards-compliant cross-browser way to embed a Flash application into a document with Flash Player detection.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="120" 
    <param name="movie" value="flash.swf" />
    <!-- Optional params -->
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="quality" value="high" />
    <!-- END Optional -->
    <embed src="flash.swf" width="300" height="120" play="true" 
        loop="true" quality="high" 
        pluginspage="" /> 
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content