Examveda
Examveda

How to lazy load images?

A. Remove the rel attribute

B. Remove the src attribute

C. Make rel = src

D. Make src = rel

Answer: Option B

Solution(By Examveda Team)

The way we would lazy load images would be to alter the HTML of the page to remove the contents of the src attribute of each image. We could just move the contents of the src attribute to an attribute in the image tag of our own design, maybe the rel attribute.

Join The Discussion

Related Questions on Invocation and Performance Navigation