Re: Unable to access an FAQ page

Chuck Jackson <seajax@charter.net>, 2021-02-13 19:40 -0500:
> Archived-At: <https://www.w3.org/mid/19c9967a-52f5-ac42-4cc4-399818bb139c@charter.net>
> 
>    When I attempt to validate one of my pages
>    ([1]http://www.douglascountygensoc.org/current_members.html), I get:

Along with what I wrote in my other reply, I want to note that document has
an invalid doctype:

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

That’s a legacy doctype which has not been allowed in current documents for
several years now.

And when the validator is given a document with that doctype, it doesn’t
check the document against the current HTML rules, but instead against the
HTML4 rules, which are now 24 years out of date.

So that document should instead have this doctype:

  <!DOCTYPE html>

That’s the only doctype that’s valid for current web documents.

If the document source is changed to use that doctype, the document will
automatically be checked against the current rules for HTML (rather the
obsolete HTML4 rules).

  –Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Saturday, 20 February 2021 01:25:40 UTC