MDN self-hosted library · e01.org

HTMLImageElement: fetchPriority property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const img = new Image();
img.fetchPriority = "high";
img.src = "img/logo.png";