HTML data attribute
data attribute represents the URL of the external resource. Data attribute is used in the object element.
<object data="files/demo.html" type="text/html">
</object>
</>
Attribute values
All possible values of data attributeThe value of data attribute is a valid URL.
Related Tags
The tags that support data attribute<object> tag
-
object tag embeds external resource such as image, media, or other resources to be processed by the plugin.
Next Previous
Was this article helpful?