HyperText Markup Language/Tag List/object

From Wikibooks, open books for an open world
Jump to: navigation, search

Use[edit]

This tag is used for embedding plugins onto a web page such as movies, applets and music. Unlike the embed tag, the designer has to specify a plugin using a hexadecimal number.

Example[edit]

<object id="flagMovie" classid="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A" width="400" height="400">
  <param name="fileName" value="flags.avi">
</object>

Required attributes[edit]

classid[edit]

This attribute identifies the plugin or control the designer wants to use. The value is a hexadecimal number.

Optional attributes[edit]

height[edit]

Declares the height of the object

width[edit]

Declares the width of the object

More info[edit]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).