HTML data Attribute
Example
<object data="demo/image.jpg" width="300" height="150"></object>
Meaning
The data attribute specifies a URL for data required by an object.
Standard Syntax
<element data="URL">
Browser Support
Status
Applies to:
The data attribute can be used on the following element:
Attribute Values
Value | Description |
---|---|
URL | Value can be
|