Validator problem

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