HTML Checking for Large Sites
Rocket Validator integrates the W3C Validator HTML checker into an automated web crawler.
Stray start tag “html”.
A stray start tag has been found in the document. As this tag defines the start of the whole HTML document, it should appear only once.
Related W3C validator issues
Stray start tag “head”.
A start tag has been found in an unexpected place in the document structure. Check that the section appears before the section, and that is not duplicated.
The section of an HTML document is the container of metadata about the document, and must appear before the section. A common cause of this issue is duplicated sections.
Here is an example of a minimal HTML document structure:
html> head> title>Testtitle> head> body> p>p> body> html>
Stray start tag “script”.
A start tag has been found in an unexpected place in the document structure. Check that the section appears within the or sections.
Here’s an example of a script inserted in the head of the document:
html> head> title>Testtitle> script> console.log("Hello from the head"); script> head> body> p>p> body> html>
Stray start tag “style”.
A start tag has been found in an unexpected place in the document structure. Check that the section appears within the section.
Although in general it’s better to put your styles in external stylesheets and apply them using elements, CSS styles can also be included inside a document using the tag. In this case, it should be placed within the section, like in this example:
html> head> title>Testtitle> style> p style> head> body> p>This text will be green.p> body> html>
Attribute “isolang” not allowed on element “html” at this point.
Instead of using the isolang attribute to define the language of the document, you can use lang with an ISO 639-1 two character code.
For example, for Portuguese:
html lang="pt">
25,000 HTML checks per month. Fully automated.
Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.
Rocket Validator Basic
25,000 HTML checks, $36/month
End tag X did not match the name of the current open element Y.
And end tag has been found that does not match the current open element. Check the context to fix the start and end tags.
Start tag “a” seen but an element of the same type was already open.
An tag can’t include other tags inside. Most probable cause is an unclosed tag, like in this example:
a href="one.html">Page 1 a href="two.html">Page 2a>
50,000 Accessibility and HTML checks per month. Fully automated.
Let our automated scanner check your large sites using Axe Core and W3C Validator.
Rocket Validator Pro
50,000 A11Y / HTML checks, $48/month
Start tag “button” seen but an element of the same type was already open.
A tag can’t include other tags inside. Most probable cause is an unclosed tag, like in this example:
button>Submit button>Cancelbutton>
Start tag seen without seeing a doctype first. Expected “”.!DOCTYPE>
HTML documents are expected to start with a first line containing the Document Type Declaration, that defines the HTML version used. Since HTML5, it’s just , which must appear before the start tag.
Here’s an example of a minimal HTML5 document:
html> head> title>Testtitle> head> body> p>p> body> html>
Stray doctype.
All HTML documents must start with a (Document Type Declaration), that informs browsers about the type and version of HTML used to build the document. In HTML5, this is simply and must appear at the start of the document.
Here is an example of a minimal HTML document, including the Document Type Declaration at its start:
html> head> title>Testtitle> head> body> p>p> body> html>
Stray end tag “X”.
An end tag for X has been found that does not correspond to a previous open tag. This usually happens when you close the same tag twice, for example:
ul> li>itemli> ul> ul>
Still checking your large sites one page at a time?
Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.
Rocket Validator Micro
1,250 HTML checks per week, $6/week
Rocket Validator
The fastest digital accessibility scanner for large sites.
Our Web Accessibility Testing Platform tests and monitors your websites
for HTML and A11Y compliance using the W3C Validator and Axe Core.
- Terms of service
- Contact us
- Status page
- Site validation reports
- Scheduled monitors
- Device viewport emulation
- Rocket Validator for teams
«Stray start tag footer» in html validator?
You need to move the