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">
Learn more:
Last reviewed: May 05, 2025
Find issues like this automatically
Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.