Windows Dev Center

all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2015 Microsoft