Question · HTML and CSS course · Module 11: Developer Tools

Loading attribute

What value should the loading attribute have for the main photo visible immediately on the page (hero image)?

Answer options

  • loading="auto" - decide automatically
  • loading="lazy" - load later
  • loading="eager" - load immediately
  • loading="fast" - load quickly

You can check the correct answer by solving this task in the CodeWorlds game.