HTML & CSS · Senior · Question 61 of 75
What does fetchpriority="high" on the hero image do?
- ✓Correct answer: Tells the browser to fetch it ahead of other images, improving LCP
- 2Prevents the image from being lazy-loaded on mobile
- 3Compresses the image on the fly
Explanation
Browsers discover many images at once and initially treat them all as low priority. Use it for one or two critical resources; marking everything high cancels the effect.