diff --git a/Lazy loading images in HTML.md b/Lazy loading images in HTML.md index e7517fc..663192f 100644 --- a/Lazy loading images in HTML.md +++ b/Lazy loading images in HTML.md @@ -1,8 +1,10 @@ # Lazy loading images in HTML -To implement [[Lazy Loading]] to an `` tag, add the attrbitue `loading=lazy` +To implement [[Lazy Loading]] to an `` tag, add the attribute `loading=lazy` - +```html + +``` This will load the image when scrolling is near the viewport, using the [Intersection Observer API](https://developers.google.com/web/updates/2016/04/intersectionobserver)