- From: Frank McCown <fmccown@harding.edu>
- Date: Thu, 5 Oct 2017 13:30:18 -0500
- To: www-validator@w3.org
- Message-ID: <CAFHYihNBPYsoiJdUuqau_0KeaF80svXWg3TN8+cZL0ZGctnYAw@mail.gmail.com>
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 <https://html.spec.whatwg.org/multipage/semantics.html#the-head-element> element's end tag <https://html.spec.whatwg.org/multipage/syntax.html#syntax-end-tag> may be omitted if the head <https://html.spec.whatwg.org/multipage/semantics.html#the-head-element> element is not immediately followed by ASCII whitespace <https://infra.spec.whatwg.org/#ascii-whitespace> or acomment <https://html.spec.whatwg.org/multipage/syntax.html#syntax-comments>." Since <head> is followed by whitespace, </head> should be required. <!DOCTYPE html> <html> <head> <title>UEF</title> <h1>test</h1> </html> -- Frank McCown, Ph.D. Associate Professor of Computer Science Harding University http://www.harding.edu/fmccown/
Received on Friday, 6 October 2017 08:19:43 UTC