Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

object

The <object> element is used to add an external resource in the form of an image, a third party plugin, or another web document.

Code Example

<object data="myflashfile.swf" type="application/x-shockwave-flash" width="550" height="400"> <param name="movie" value="myflashfile.swf"> </object> The following example adds a browsing context like the <iframe> to insert another document or application: <object data="other_page.html" width="360" height="240"></object>

Attributes

globals - the global attributes common to all elements possible values: see global attribute list data - specify the path to the object data source possible values: "path/to/file" type - specify the data/application type possible values: "valid MIME type" typemustmatch - specify that the data attribute value matches the possible values: value not required name - specify a name for the object possible values: "string" usemap - specify a <map> to bind to the object possible values: "the map name attribute value" form - specify the id of a form that the object is associated with possible values: "form id" width - specify the width of the object possible values: "integer", "percentage" height - specify the height of the object possible values: "integer", "percentage"

Official Documentation

http://www.w3.org/TR/html/embedded-content-0.html#the-object-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr