Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

lazyload attribute | lazyload property

Lowers the loading priority of a resource.

Syntax

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

p = object.lazyload

 

Property values

Type: Integer

0

Default. The resource loads at its default priority.

1

The resource loads after higher priority resources (if any).

Examples


<img src="example.jpg" lazyload="1" />

See also

audio
img
link
script
svg
video
Conceptual
Network prioritization

 

 

Show:
© 2015 Microsoft