In reply to this post by Philip Taylor (Webmaster, Ret'd)
2014-09-21 12:36, Philip Taylor wrote:
>> <!-- Default Geneology Page -->
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> Suggest removing the leading comment and blank line, and making the
> DOCTYPE directive the first line of the file.
That’s advisable indeed, but it does not affect validation. Validators
have no problems with such a comment, as it is permitted by the syntax.
But some old browsers (while consuming XHTML as old HTML tag soup) will
go to Quirks Mode if the DOCTYPE string is preceded by anything.