loading attribute

noun

say it: “LOH-ding AT-ruh-byoot” /ˈloʊdɪŋ ˈætrəˌbjut/

An HTML attribute on images and iframes: loading="lazy" waits until the reader scrolls near, and loading="eager", the default, loads right away.

What is loading attribute?

loading attribute — An attribute that hints whether an image or iframe should load immediately or lazily.

In a sentence

  • “I set the loading attribute to lazy on every photo below the first screen.”

Level: Journeyman · More HTML terms at this level

Updated