W3C home > Mailing lists > Public > www-validator@w3.org > October 2017

Validator problem

From: Frank McCown <fmccown@harding.edu>
Date: Thu, 5 Oct 2017 13:30:18 -0500
Message-ID: <CAFHYihNBPYsoiJdUuqau_0KeaF80svXWg3TN8+cZL0ZGctnYAw@mail.gmail.com>
To: www-validator@w3.org
I believe your HTML validator (https://validator.w3.org/nu/#textarea) has a
problem.  The HTML below passed with no errors despite the fact that
</head> is missing.  According to the HTML5 specs:

"A head
 element's end tag
<https://html.spec.whatwg.org/multipage/syntax.html#syntax-end-tag> may be
omitted if the head
is not immediately followed by ASCII whitespace
<https://infra.spec.whatwg.org/#ascii-whitespace> or acomment

Since <head> is followed by whitespace, </head> should be required.

<!DOCTYPE html>

Frank McCown, Ph.D.
Associate Professor of Computer Science
Harding University
Received on Friday, 6 October 2017 08:19:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:01 UTC