Monday, 23 December 2013

OBJECT


object

An embedded multimedia object. Often used in conjunction with param.

Optional Attributes
  • classid can be used to specify the location of the object in the form of a URL or Windows Registry location.
  • data can be used to specify the location of the data for the object in the form of a URL.
  • codebase can be used to specify the base location from which relative URLs specified in the classid, data and archive attributes should be taken.
  • declare can be used to specify that the object is a declaration only. It must be used in the format declare="declare".
  • type can be used to specify the content type of the data specified by the data attribute.
  • codetype can be used to specify the content type of the object.
  • archive can be used to specify resources relevant to the object. The value should be a URL or a number of URLs separated by spaces.
  • standby can be used to specify text that will be displayed while the object is loading.
  • width can be used to specify the width of the object (in pixels). This can also be done with CSS.
  • height can be used to specify the height of the object (in pixels). This can also be done with CSS.
  • name can be used to specify a name by which the object can be referenced.
  • tabindex can be used to specify where the element appears in the tab order of the page.
Example

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="someplace/swflash.cab" width="200" height="300" id="penguin">
        <param name="movie" value="flash/penguin.swf" />
        <param name="quality" value="high" />
        <img src="images/penguin.jpg" width="200" height="300" alt="Penguin" />
</object>

No comments:

Post a Comment

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...