Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

data attribute | data property

Sets or retrieves the URL that references the data of the object.

Syntax

HTML<element data="p" ... >
JavaScript

p = object.data

 

Property values

Type: String

the URL of the data.

See also

comment
object
Reference
type
Conceptual
About the W3C Document Object Model

 

 

Show: