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

Re: Validator problem

From: David Dorward <david@dorward.me.uk>
Date: Fri, 06 Oct 2017 09:26:25 +0100
To: "Frank McCown" <fmccown@harding.edu>
Cc: www-validator@w3.org
Message-ID: <35C4E100-39C9-408E-8436-B6F304F945BE@dorward.me.uk>
On 5 Oct 2017, at 19:30, Frank McCown wrote:
> Since <head> is followed by whitespace, </head> should be required.

The reason for that rule is that the parser needs to determine if the 
whitespace characters should be treated as being inside or outside of 
the head element.

In order to place the whitespace characters outside the head element, an 
explicit end tag is required.

Since there isn’t one, the parser places the whitespace **inside** the 
head element.

The HTML is fine. It just means that the head element ends immediately 
before `<h1>` instead of immediately after `</title>`.
Received on Friday, 6 October 2017 08:26:54 UTC

This archive was generated by hypermail 2.3.1 : Friday, 6 October 2017 08:27:01 UTC