HTML is designed with extensibility in mind for data that should be associated with a particular element but need not have any defined meaning. data-*
attributes allow us to store extra information on standard, semantic HTML elements without other hacks such as non-standard attributes, or extra properties on DOM.
The data
attribute specifies the URL of the resource to be used by the object.
<object data="URL">
Value | Description |
---|---|
URL | Specifies the URL of the resource to be used by the object.
Possible values:
|
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |