HTML Validation Service – Stack Overflow

I am trying to check html files for validity and have found the w3c validator.
However I have found that this validator accepts grossly wrong html documents like this one:

<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <title>Hello World</title>
    Hello
</body>
</html>

Here I have removed the opening html-tag, and the opening body tag and the validator reports:

The document validates according to the specified schema(s).

I do not assume, that this document is anyhow compliant to the html5 or any other html standard. Obviously the validator is not very strict, when it comes to nesting of elements or opening/closing tags.

Is there a more strict validator out there, which reports every tiny deviation from standard html?

Product of the Month September 2016

Source link

Leave a Comment

Your email address will not be published. Required fields are marked *