Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

Stray start tag “script”.

A <script> start tag has been found in an unexpected place in the document structure. Check that the <script> section appears within the <head> or <body> sections.

Here’s an example of a script inserted in the head of the document:

<!DOCTYPE html>
      console.log("Hello from the head");

Learn more:

Related W3C validator issues