Re: Validator problem

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