W3C home > Mailing lists > Public > www-validator@w3.org > May 2000

Re: Validator puzzle

From: Samuel Hocevar <sam@via.ecp.fr>
Date: Wed, 3 May 2000 07:30:51 +0200
To: www-validator@w3.org
Cc: Charles Stewart <cas@iname.com>
Message-ID: <20000503073051.H9284@via.ecp.fr>
On Tue, May 02, 2000, Charles Stewart wrote:
> I have been attempting to rewrite my default template for HTML 4.0 in
> such a way that it was valid XHTML.  However I was unable to validate
> my efforts (http://achilles.bu.edu/cas/template.html)

   You cannot validate both HTML 4.0 and XHTML. In order to validate
XHTML, you have to change the DOCTYPE in your document, for instance :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

By the way, there is a typo on the 14th line, you forgot to close the
quotes in rel="StyleSheet"

Samuel Hocevar <sam@via.ecp.fr> - http://www.via.ecp.fr/~sam/
     Do not try and fight the Cabal. That's impossible.
  Instead only try to realize the truth. There is no Cabal.
Received on Wednesday, 3 May 2000 01:30:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:16 UTC