Browser Support You can use the loading attribute to lazy-load images without the need to write custom lazy-loading code or use a separate Java Script library.