Resource Loading
fetchpriority="high"
Suggests that the resource deserves greater relative fetch priority, such as a critical hero image. Excessive high-priority hints can compete with genuinely important requests. On img, link and script in relevant fetch contexts; absent or invalid values use auto. It is a scheduling hint, not a guarantee. The inline image demonstrates syntax only.
Formal Syntax & Structure
html syntaxhtml
fetchpriority="high"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| fetchpriority | keyword | Suggests that the resource deserves greater relative fetch priority, such as a critical hero image. Excessive high-priority hints can compete with genuinely important requests. |
Working Example
Example Snippethtml
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTYwIiBoZWlnaHQ9IjEwMCIgZmlsbD0ibGlnaHRibHVlIi8+PGNpcmNsZSBjeD0iODAiIGN5PSI1MCIgcj0iMzAiIGZpbGw9Im5hdnkiLz48L3N2Zz4=" alt="Blue circle on a light blue background" width="160" height="100" fetchpriority="high">