HTML <object> data attribute
Definition and usage
data
Attribute specifies the URL of the resource to be used by the object.
Example
How to embed images using the <object> element:
<object data="tulip-yellow.jpg" width="600" height="400"></object>
Syntax
<object data="URL">
Attribute value
Value | Description |
---|---|
URL |
Specifies the URL of the resource to be used by the object. Possible values:
|
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |