Skip to content

Commit ee88abe

Browse files
committed
language tweak
1 parent 19107a4 commit ee88abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/images/tutorials/optimize-images-for-mobile.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Lazy loading is natively supported on all Chromium-based browsers like Chrome, S
1616
If you use older methods, involving custom Javascript or a Javascript library, lazy loading may increase the initial load time of the page since the browser needs to download, parse, and execute Javascript.
1717
:::
1818

19-
## How to set up lazy loading
19+
## How to add lazy loading to images
2020

21-
To set up lazy loading, modify the `loading` attribute of your `<img>` tags to be `"lazy"`. For example:
21+
To add lazy loading to your images, modify the `loading` attribute of your `<img>` tags to be `"lazy"`. For example:
2222

2323
````HTML
2424
<img src="example.com/cdn-cgi/width=300/image.png" loading="lazy">

0 commit comments

Comments
 (0)