Extension & Emerging Attributes

fetchpriority

Standard resource-priority hint, not merely an extension. high, low and auto influence relative fetch scheduling for supported img, link and script contexts; they do not guarantee order or initiate a fetch on their own. Prefer the existing attr-fetchpriority reference for canonical documentation.

Formal Syntax & Structure

html syntaxhtml
fetchpriority="high" | "low" | "auto"

Parameters & Attributes

NameTypeDescription
fetchpriorityenumeratedRelative fetch priority; auto is the default.

Working Example

Example Snippethtml
<img src="hero.jpg" alt="Mountain landscape" width="640" height="360" fetchpriority="high">
HTML Reference