Skip to main content
HTML Validation

Element “link” is missing one or more of the following attributes: “href”, “itemprop”, “property”, “rel”, “resource”.

About This HTML Issue

A <link> element must include at least one of the attributes href, rel, itemprop, property, or resource.

The <link> element is used to define the relationship between the current document and an external resource, most commonly for linking stylesheets (rel="stylesheet") or providing metadata. According to the HTML specification, at least one of the attributes href, rel, itemprop, property, or resource must be present so the browser or validator knows the purpose of the link.

Correct usage with rel and href:

<link rel="stylesheet" href="styles.css">

Correct usage with property:

<link property="og:image" href="image.png">

Last reviewed: May 05, 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.