HyperText Markup Language/Tag List/object

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

Use[edit | edit source]

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 | edit source]

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

Required attributes[edit | edit source]

classid[edit | edit source]

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

Optional attributes[edit | edit source]

height[edit | edit source]

Declares the height of the object

width[edit | edit source]

Declares the width of the object

More info[edit | edit source]

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