Skip to main content
HTML Validation

Stray start tag “link”.

About This HTML Issue

A stray start tag “link” error occurs when a <link> element appears outside the <head> section, for example after the document’s closing </html> tag.

The <link> element is used to reference external resources like stylesheets and must appear inside the document’s <head> section, before </head>.

Valid usage example:

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Link Tag Example</title>
    <link rel="stylesheet" href="css/app.css">
  </head>
  <body>
  </body>
</html>

In this example, the <link> tag is correctly placed within the <head> element.

Last reviewed: August 07, 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.