fetchpriority attribute

An HTML attribute that hints a resource's relative download priority as high, low or auto.

In more detail

It also works on link and script elements and on fetch() through the priority option. fetchpriority="high" on the hero image tells the browser it matters more than other images, improving Largest Contentful Paint.

Related terms

Taught in

References