For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Sunday, March 10, 2024

How to make load image fast

How to make load image fast

Images are main parts of any website, Because It says lots of things than text. So it is important to load it fast as much as fast.

To load image fast use below attributes

<link rel="preload" as="image" href="https://site.com/imgs/image.jpg">


<img fetchpriority="high" decoding="async"
src="https://site.com/imgs/image.jpg"
class="myclass" alt="myimage"
width="765"
height="599">

Share:

0 comments:

Post a Comment

How to make center align child div

 How to make center align child div?   Suppose you have 2 Div tag. And want the make inner tag center <div id="d1">      ...

Ads Inside Post

Powered by Blogger.

Arsip