Skip to main content
HTML Validation

Bad value “highest” for attribute “fetchpriority” on element “link”.

About This HTML Issue

The value highest is not valid for the fetchpriority attribute on a link element; valid values are auto, high, and low.

The fetchpriority attribute is used to inform the browser about the relative priority of resource fetching, such as stylesheets or preloads. According to the WHATWG HTML standard and the W3C validator, only the values auto, high, and low are permitted. Using an invalid value like highest will trigger a validation error.

Correct usage:

  • fetchpriority="high": Resource is prioritized for early fetching.
  • fetchpriority="low": Resource is fetched with lower priority.
  • fetchpriority="auto": Browser chooses the priority.

Incorrect example:

<link rel="preload" href="style.css" as="style" fetchpriority="highest">

Corrected example:

<link rel="preload" href="style.css" as="style" fetchpriority="high">

Minimal valid HTML example:

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Test</title>
  <link rel="preload" href="style.css" as="style" fetchpriority="high">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <p>Hello, world!</p>
</body>
</html>

Replace highest with high, low, or auto to resolve the validation error.

Last reviewed: July 11, 2025

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.